Merge branch 'pegasus-errors'
authorDavid S. Miller <davem@davemloft.net>
Wed, 4 Aug 2021 09:38:42 +0000 (10:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Aug 2021 09:38:42 +0000 (10:38 +0100)
commitff0ee9dfe8a3277b1d2be3bb3e689a1cef01f13e
tree66189e8f44f6db20675ae2b88b29aa20e5664d51
parent13a9c4ac319a23c792e2e03ac73777b6710132c3
parentbc65bacf239d0bc1d00d92cd535a4031921dd78a
Merge branch 'pegasus-errors'

Petko Manolov says:

====================
net: usb: pegasus: better error checking and DRIVER_VERSION removal

v3:

Pavel Skripkin again: make sure -ETIMEDOUT is returned by __mii_op() on timeout
condition;

v2:

Special thanks to Pavel Skripkin for the review and who caught a few bugs.
setup_pegasus_II() would not print an erroneous message on the success path.

v1:

Add error checking for get_registers() and derivatives.  If the usb transfer
fail then just don't use the buffer where the legal data should have been
returned.

Remove DRIVER_VERSION per Greg KH request.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>