diff options
| author | Jérôme Pouiller <[email protected]> | 2020-10-09 17:13:05 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-10-10 10:33:59 +0000 |
| commit | 8522d62e6bca8c8b2fbf456523f01bf36468239c (patch) | |
| tree | 751f5d5549ba479f9963cdfebab539a83174609a /drivers/usb/cdns3 | |
| parent | staging: wfx: increase robustness of hif_generic_confirm() (diff) | |
| download | kernel-8522d62e6bca8c8b2fbf456523f01bf36468239c.tar.gz kernel-8522d62e6bca8c8b2fbf456523f01bf36468239c.zip | |
staging: wfx: gpiod_get_value() can return an error
Smatch complains:
hif_rx.c:98 hif_wakeup_indication() warn: 'gpiod_get_value(wdev->pdata.gpio_wakeup)' returns positive and negative
bh.c:24 device_wakeup() warn: 'gpiod_get_value_cansleep(wdev->pdata.gpio_wakeup)' returns positive and negative
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Jérôme Pouiller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions
