From: Nigel Christian <hidden> Date: 2021-06-01 13:00:39
In the case MICROREAD_CB_TYPE_READER_ALL clang reports a dead
code warning. The error code is being directly passed to
async_cb(). Fix this by passing the err variable, which is also
done in another path.
Addresses-Coverity: ("Unused value")
Signed-off-by: Nigel Christian <redacted>
---
drivers/nfc/microread/microread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Krzysztof Kozlowski <hidden> Date: 2021-06-01 13:07:56
On 01/06/2021 15:00, Nigel Christian wrote:
quoted hunk
In the case MICROREAD_CB_TYPE_READER_ALL clang reports a dead
code warning. The error code is being directly passed to
async_cb(). Fix this by passing the err variable, which is also
done in another path.
Addresses-Coverity: ("Unused value")
Signed-off-by: Nigel Christian <redacted>
---
drivers/nfc/microread/microread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Dan Carpenter <hidden> Date: 2021-06-01 13:38:16
On Tue, Jun 01, 2021 at 09:00:33AM -0400, Nigel Christian wrote:
quoted hunk
In the case MICROREAD_CB_TYPE_READER_ALL clang reports a dead
code warning. The error code is being directly passed to
async_cb(). Fix this by passing the err variable, which is also
done in another path.
Addresses-Coverity: ("Unused value")
Signed-off-by: Nigel Christian <redacted>
---
drivers/nfc/microread/microread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)