Skip to content
Commit 28a85386 authored by Lee Jones's avatar Lee Jones
Browse files

pinctrl: stmfx: Fix 'warn: unsigned <VAR> is never less than zero'



smatch warnings:
drivers/pinctrl/pinctrl-stmfx.c:225 stmfx_pinconf_get() warn: unsigned 'dir' is never less than zero.
drivers/pinctrl/pinctrl-stmfx.c:228 stmfx_pinconf_get() warn: unsigned 'type' is never less than zero.
drivers/pinctrl/pinctrl-stmfx.c:231 stmfx_pinconf_get() warn: unsigned 'pupd' is never less than zero.

Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 9af2de76
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment