aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2019-11-13 14:50:22 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-13 12:15:03 -0800
commit1e37be7d27d086ca72c38af14a9783eb9d7e9fa9 (patch)
tree3939db915c22bbabb562fd07098289ec93f8c591 /drivers/net
parentMerge tag 'ieee802154-for-davem-2019-11-13' of git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan-next (diff)
downloadlinux-dev-1e37be7d27d086ca72c38af14a9783eb9d7e9fa9.tar.xz
linux-dev-1e37be7d27d086ca72c38af14a9783eb9d7e9fa9.zip
nfc: pn533: pn533_phy_ops dev_[up, down] return int
Change dev_up and dev_down functions of struct pn533_phy_ops to return int. This way the pn533 core can report errors in the phy layer to upper layers. The only user of this is currently uart.c and it is changed to report the error of a possibly failing call to serdev_device_open. Reported-by: coverity-bot <keescook+coverity-bot@chromium.org> Addresses-Coverity-ID: 1487395 ("Error handling issues") Fixes: c656aa4c27b1 ("nfc: pn533: add UART phy driver") Signed-off-by: Lars Poeschel <poeschel@lemonage.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions