[lkml]   [2020]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH net-next 1/3] nfc: s3fwrn5: use signed integer for parsing GPIO numbers
On Fri, Nov 27, 2020 at 12:33:37AM +0900, wrote:
> From: Krzysztof Kozlowski <>
> 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: c04c674fadeb ("nfc: s3fwrn5: Add driver for Samsung S3FWRN5 NFC Chip")
> Cc: <>
> Signed-off-by: Krzysztof Kozlowski <>

Why do you send my patch?

Best regards,

 \ /
  Last update: 2020-11-26 18:09    [W:0.068 / U:0.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site