mirror of https://gitee.com/openkylin/linux.git
d8f0a86795
GPIOs - as returned by of_get_named_gpio() and used by the gpiolib - are
signed integers, where negative number indicates error. The return
value of of_get_named_gpio() should not be assigned to an unsigned int
because in case of !CONFIG_GPIOLIB such number would be a valid GPIO.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
core.c | ||
firmware.c | ||
firmware.h | ||
i2c.c | ||
nci.c | ||
nci.h | ||
s3fwrn5.h |