All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net v3 0/2] net: usb: pegasus: better error checking and DRIVER_VERSION removal
@ 2021-08-03 17:25 Petko Manolov
  2021-08-03 17:25 ` [PATCH net v3 1/2] net: usb: pegasus: Check the return value of get_geristers() and friends; Petko Manolov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Petko Manolov @ 2021-08-03 17:25 UTC (permalink / raw)
  To: netdev; +Cc: paskripkin, davem, gregkh, stable, Petko Manolov

From: Petko Manolov <petkan@nucleusys.com>

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.

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

 drivers/net/usb/pegasus.c | 138 +++++++++++++++++++++-----------------
 1 file changed, 77 insertions(+), 61 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-04  9:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 17:25 [PATCH net v3 0/2] net: usb: pegasus: better error checking and DRIVER_VERSION removal Petko Manolov
2021-08-03 17:25 ` [PATCH net v3 1/2] net: usb: pegasus: Check the return value of get_geristers() and friends; Petko Manolov
2021-08-03 17:49   ` Pavel Skripkin
2021-08-03 17:25 ` [PATCH net v3 2/2] net: usb: pegasus: Remove the changelog and DRIVER_VERSION Petko Manolov
2021-08-04  6:19   ` Greg KH
2021-08-04  9:50 ` [PATCH net v3 0/2] net: usb: pegasus: better error checking and DRIVER_VERSION removal patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.