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

From: Petko Manolov <petkan@nucleusys.com>

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 | 132 +++++++++++++++++++++-----------------
 1 file changed, 72 insertions(+), 60 deletions(-)

-- 
2.30.2


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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 15:03 [PATCH net 0/2] net: usb: pegasus: better error checking and DRIVER_VERSION removal Petko Manolov
2021-08-03 15:03 ` [PATCH net 1/2] net: usb: pegasus: Check the return value of get_geristers() and friends; Petko Manolov
2021-08-03 15:28   ` Pavel Skripkin
2021-08-03 15:45     ` Petko Manolov
2021-08-03 15:46       ` Pavel Skripkin
2021-08-03 16:15         ` Petko Manolov
2021-08-03 15:03 ` [PATCH net 2/2] net: usb: pegasus: Remove the changelog and DRIVER_VERSION Petko Manolov
2021-08-03 16:51   ` 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).