]> git.baikalelectronics.ru Git - kernel.git/commit
sunhme: Use (net)dev_foo wherever possible
authorSean Anderson <seanga2@gmail.com>
Sat, 24 Sep 2022 01:53:36 +0000 (21:53 -0400)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Sep 2022 00:45:38 +0000 (17:45 -0700)
commit8acf878f29d00563e2bbed36de6b1be75dc4ab7a
tree59e4f361afe6decd9154dac5d50f6cb495a7d6d5
parent0bc1f45410ea9f791698a0d0082e693434798188
sunhme: Use (net)dev_foo wherever possible

Wherever possible, use the associated netdev (or device) when printing
errors or other messages. This makes it immediately clear what device
caused the error, and provides more information than just the device name.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sun/sunhme.c