[lkml]   [2019]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH net-next] nfc: pn533: pn533_phy_ops dev_[up,down] return int
From: Lars Poeschel <>
Date: Wed, 13 Nov 2019 14:50:22 +0100

> 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 <>
> Addresses-Coverity-ID: 1487395 ("Error handling issues")
> Fixes: c656aa4c27b1 ("nfc: pn533: add UART phy driver")
> Signed-off-by: Lars Poeschel <>

Applied, thanks Lars.

 \ /
  Last update: 2019-11-13 21:16    [W:0.038 / U:0.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site