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

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

-- 
2.30.2


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

end of thread, other threads:[~2021-08-03 17:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 16:18 [PATCH net v2 0/2] net: usb: pegasus: better error checking and DRIVER_VERSION removal Petko Manolov
2021-08-03 16:18 ` [PATCH net v2 1/2] Check the return value of get_geristers() and friends; Petko Manolov
2021-08-03 16:45   ` Pavel Skripkin
2021-08-03 17:26     ` Petko Manolov
2021-08-03 16:18 ` [PATCH net v2 2/2] Remove the changelog and DRIVER_VERSION Petko Manolov
2021-08-03 16:53   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).