nfc: port100: lower verbosity of cancelled URB messages
Subsystems (3)
PATCH 1/1 nfc: port100: lower verbosity of cancelled URB messages
It is not an error to receive an URB with -ENOENT because it can come from regular user operations, e.g. pressing CTRL+C when running nfctool from neard. Make it a debugging message, not an error.
Signed-off-by Krzysztof Kozlowski <[email protected]>
--- drivers/nfc/port100.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/nfc/port100.c +3 -3
@@ -624,7 +624,7 @@ static void port100_recv_response(struct urb *urb)break ;/* success */ case -ECONNRESET :case -ENOENT : -nfc_err (&dev->interface->dev, +nfc_dbg (&dev->interface->dev,"The urb has been canceled (status %d)\n" , urb->status); goto sched_wq;case -ESHUTDOWN :
@@ -678,7 +678,7 @@ static void port100_recv_ack(struct urb *urb)break ;/* success */ case -ECONNRESET :case -ENOENT : -nfc_err (&dev->interface->dev, +nfc_dbg (&dev->interface->dev,"The urb has been stopped (status %d)\n" , urb->status); goto sched_wq;case -ESHUTDOWN :
@@ -942,7 +942,7 @@ static void port100_send_complete(struct urb *urb)break ;/* success */ case -ECONNRESET :case -ENOENT : -nfc_err (&dev->interface->dev, +nfc_dbg (&dev->interface->dev,"The urb has been stopped (status %d)\n" , urb->status);break ;case -ESHUTDOWN :
Signature · 1 line
2.32.0
This patch was applied to netdev/net.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <[email protected]>:
Quoted 8 lines · On Sun, 7 Nov 2021 15:14:00 +0100 you wrote:
It is not an error to receive an URB with
-ENOENTbecause it can come from regular user operations, e.g. pressing CTRL+C when running nfctool from neard. Make it a debugging message, not an error.Signed-off-by Krzysztof Kozlowski <[email protected]>--- drivers/nfc/port100.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Here is the summary with links:
- nfc: port100: lower verbosity of cancelled URB messages
https://git.kernel.org/netdev/net/c/08fcdfa6e3ae
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html