[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200923090519.361-1-himadrispandya@gmail.com>
Date: Wed, 23 Sep 2020 14:35:15 +0530
From: Himadri Pandya <himadrispandya@...il.com>
To: davem@...emloft.net, kuba@...nel.org, oneukum@...e.com,
pankaj.laxminarayan.bharadiya@...el.com, keescook@...omium.org,
yuehaibing@...wei.com, petkan@...leusys.com, ogiannou@...il.com
Cc: linux-usb@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
gregkh@...uxfoundation.org,
Himadri Pandya <himadrispandya@...il.com>
Subject: [PATCH 0/4] net: usb: avoid using usb_control_msg() directly
A recent bug-fix shaded light on possible incorrect use of
usb_control_msg() without proper error check. This resulted in
introducing new usb core api wrapper functions usb_control_msg_send()
and usb_control_msg_recv() by Greg KH. This patch series continue the
clean-up using the new functions.
Himadri Pandya (4):
net: usbnet: use usb_control_msg_recv() and usb_control_msg_send()
net: sierra_net: use usb_control_msg_recv()
net: usb: rtl8150: use usb_control_msg_recv() and
usb_control_msg_send()
net: rndis_host: use usb_control_msg_recv() and usb_control_msg_send()
drivers/net/usb/rndis_host.c | 44 +++++++++++++---------------------
drivers/net/usb/rtl8150.c | 32 +++++--------------------
drivers/net/usb/sierra_net.c | 17 ++++++-------
drivers/net/usb/usbnet.c | 46 ++++--------------------------------
4 files changed, 34 insertions(+), 105 deletions(-)
--
2.17.1
Powered by blists - more mailing lists