Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Petko Manolov <petko.manolov@konsulko.com>
To: netdev@vger.kernel.org
Cc: paskripkin@gmail.com, davem@davemloft.net,
	gregkh@linuxfoundation.org, Petko Manolov <petkan@nucleusys.com>
Subject: [PATCH net 0/2] net: usb: pegasus: better error checking and DRIVER_VERSION removal
Date: Tue,  3 Aug 2021 18:03:15 +0300	[thread overview]
Message-ID: <20210803150317.5325-1-petko.manolov@konsulko.com> (raw)

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


             reply	other threads:[~2021-08-03 15:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-03 15:03 Petko Manolov [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210803150317.5325-1-petko.manolov@konsulko.com \
    --to=petko.manolov@konsulko.com \
    --cc=davem@davemloft.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=netdev@vger.kernel.org \
    --cc=paskripkin@gmail.com \
    --cc=petkan@nucleusys.com \
    --subject='Re: [PATCH net 0/2] net: usb: pegasus: better error checking and DRIVER_VERSION removal' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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