]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: usb: aqc111: debug info before sanitation
authorOliver Neukum <oneukum@suse.com>
Wed, 28 May 2025 11:03:54 +0000 (13:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 13:32:37 +0000 (15:32 +0200)
commit5ed1d7a7000002464bc1939f2b476752eaa2f155
tree8b7e7b5f52ac705c555bc2a362102f3753f0c212
parentb4a86d64e487444b9e7848e1bc282ca50b57d24e
net: usb: aqc111: debug info before sanitation

commit d3faab9b5a6a0477d69c38bd11c43aa5e936f929 upstream.

If we sanitize error returns, the debug statements need
to come before that so that we don't lose information.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Fixes: 405b0d610745 ("net: usb: aqc111: fix error handling of usbnet read calls")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/aqc111.c