OSDN Git Service

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)
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>

Trivial merge