mbox series

[net,v2,0/2] net: usb: pegasus: better error checking and DRIVER_VERSION removal

Message ID 20210803161853.5904-1-petko.manolov@konsulko.com
Headers show
Series net: usb: pegasus: better error checking and DRIVER_VERSION removal | expand

Message

Petko Manolov Aug. 3, 2021, 4:18 p.m. UTC
From: Petko Manolov <petkan@nucleusys.com>

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.

Petko Manolov (2):
  Check the return value of get_geristers() and friends;
  Remove the changelog and DRIVER_VERSION.

 drivers/net/usb/pegasus.c | 134 +++++++++++++++++++++-----------------
 1 file changed, 74 insertions(+), 60 deletions(-)