All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa-dev@sang-engineering.com>
To: linux-usb@vger.kernel.org
Cc: Wolfram Sang <wsa-dev@sang-engineering.com>,
	brcm80211-dev-list.pdl@broadcom.com, linux-can@vger.kernel.org,
	linux-wireless@vger.kernel.org, netdev@vger.kernel.org
Subject: [PATCH 00/16] net: don't print error when allocating urb fails
Date: Thu, 11 Aug 2016 23:05:19 +0200	[thread overview]
Message-ID: <1470949539-25392-1-git-send-email-wsa-dev@sang-engineering.com> (raw)

This per-subsystem series is part of a tree wide cleanup. usb_alloc_urb() uses
kmalloc which already prints enough information on failure. So, let's simply
remove those "allocation failed" messages from drivers like we did already for
other -ENOMEM cases. gkh acked this approach when we talked about it at LCJ in
Tokyo a few weeks ago.


Wolfram Sang (16):
  net: can: usb: ems_usb: don't print error when allocating urb fails
  net: can: usb: esd_usb2: don't print error when allocating urb fails
  net: can: usb: gs_usb: don't print error when allocating urb fails
  net: can: usb: kvaser_usb: don't print error when allocating urb fails
  net: can: usb: peak_usb: pcan_usb_core: don't print error when
    allocating urb fails
  net: can: usb: usb_8dev: don't print error when allocating urb fails
  net: usb: hso: don't print error when allocating urb fails
  net: usb: lan78xx: don't print error when allocating urb fails
  net: usb: usbnet: don't print error when allocating urb fails
  net: wimax: i2400m: usb-notif: don't print error when allocating urb
    fails
  net: wireless: ath: ar5523: ar5523: don't print error when allocating
    urb fails
  net: wireless: broadcom: brcm80211: brcmfmac: usb: don't print error
    when allocating urb fails
  net: wireless: intersil: orinoco: orinoco_usb: don't print error when
    allocating urb fails
  net: wireless: marvell: libertas_tf: if_usb: don't print error when
    allocating urb fails
  net: wireless: marvell: mwifiex: usb: don't print error when
    allocating urb fails
  net: wireless: realtek: rtlwifi: usb: don't print error when
    allocating urb fails

 drivers/net/can/usb/ems_usb.c                        |  9 ++-------
 drivers/net/can/usb/esd_usb2.c                       |  3 ---
 drivers/net/can/usb/gs_usb.c                         |  9 ++-------
 drivers/net/can/usb/kvaser_usb.c                     |  7 +------
 drivers/net/can/usb/peak_usb/pcan_usb_core.c         |  6 +-----
 drivers/net/can/usb/usb_8dev.c                       |  5 +----
 drivers/net/usb/hso.c                                | 20 +++++---------------
 drivers/net/usb/lan78xx.c                            |  4 +---
 drivers/net/usb/usbnet.c                             |  5 +----
 drivers/net/wimax/i2400m/usb-notif.c                 |  1 -
 drivers/net/wireless/ath/ar5523/ar5523.c             |  9 ++-------
 .../net/wireless/broadcom/brcm80211/brcmfmac/usb.c   |  8 ++------
 drivers/net/wireless/intersil/orinoco/orinoco_usb.c  |  4 +---
 drivers/net/wireless/marvell/libertas_tf/if_usb.c    | 12 +++---------
 drivers/net/wireless/marvell/mwifiex/usb.c           | 19 ++++---------------
 drivers/net/wireless/realtek/rtlwifi/usb.c           |  8 +-------
 16 files changed, 27 insertions(+), 102 deletions(-)

-- 
2.8.1


WARNING: multiple messages have this Message-ID (diff)
From: Wolfram Sang <wsa-dev-jBu1N2QxHDJrcw3mvpCnnVaTQe2KTcn/@public.gmane.org>
To: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Wolfram Sang
	<wsa-dev-jBu1N2QxHDJrcw3mvpCnnVaTQe2KTcn/@public.gmane.org>,
	brcm80211-dev-list.pdl-dY08KVG/lbpWk0Htik3J/w@public.gmane.org,
	linux-can-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH 00/16] net: don't print error when allocating urb fails
Date: Thu, 11 Aug 2016 23:05:19 +0200	[thread overview]
Message-ID: <1470949539-25392-1-git-send-email-wsa-dev@sang-engineering.com> (raw)

This per-subsystem series is part of a tree wide cleanup. usb_alloc_urb() uses
kmalloc which already prints enough information on failure. So, let's simply
remove those "allocation failed" messages from drivers like we did already for
other -ENOMEM cases. gkh acked this approach when we talked about it at LCJ in
Tokyo a few weeks ago.


Wolfram Sang (16):
  net: can: usb: ems_usb: don't print error when allocating urb fails
  net: can: usb: esd_usb2: don't print error when allocating urb fails
  net: can: usb: gs_usb: don't print error when allocating urb fails
  net: can: usb: kvaser_usb: don't print error when allocating urb fails
  net: can: usb: peak_usb: pcan_usb_core: don't print error when
    allocating urb fails
  net: can: usb: usb_8dev: don't print error when allocating urb fails
  net: usb: hso: don't print error when allocating urb fails
  net: usb: lan78xx: don't print error when allocating urb fails
  net: usb: usbnet: don't print error when allocating urb fails
  net: wimax: i2400m: usb-notif: don't print error when allocating urb
    fails
  net: wireless: ath: ar5523: ar5523: don't print error when allocating
    urb fails
  net: wireless: broadcom: brcm80211: brcmfmac: usb: don't print error
    when allocating urb fails
  net: wireless: intersil: orinoco: orinoco_usb: don't print error when
    allocating urb fails
  net: wireless: marvell: libertas_tf: if_usb: don't print error when
    allocating urb fails
  net: wireless: marvell: mwifiex: usb: don't print error when
    allocating urb fails
  net: wireless: realtek: rtlwifi: usb: don't print error when
    allocating urb fails

 drivers/net/can/usb/ems_usb.c                        |  9 ++-------
 drivers/net/can/usb/esd_usb2.c                       |  3 ---
 drivers/net/can/usb/gs_usb.c                         |  9 ++-------
 drivers/net/can/usb/kvaser_usb.c                     |  7 +------
 drivers/net/can/usb/peak_usb/pcan_usb_core.c         |  6 +-----
 drivers/net/can/usb/usb_8dev.c                       |  5 +----
 drivers/net/usb/hso.c                                | 20 +++++---------------
 drivers/net/usb/lan78xx.c                            |  4 +---
 drivers/net/usb/usbnet.c                             |  5 +----
 drivers/net/wimax/i2400m/usb-notif.c                 |  1 -
 drivers/net/wireless/ath/ar5523/ar5523.c             |  9 ++-------
 .../net/wireless/broadcom/brcm80211/brcmfmac/usb.c   |  8 ++------
 drivers/net/wireless/intersil/orinoco/orinoco_usb.c  |  4 +---
 drivers/net/wireless/marvell/libertas_tf/if_usb.c    | 12 +++---------
 drivers/net/wireless/marvell/mwifiex/usb.c           | 19 ++++---------------
 drivers/net/wireless/realtek/rtlwifi/usb.c           |  8 +-------
 16 files changed, 27 insertions(+), 102 deletions(-)

-- 
2.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2016-08-11 21:12 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-11 21:05 Wolfram Sang [this message]
2016-08-11 21:05 ` [PATCH 00/16] net: don't print error when allocating urb fails Wolfram Sang
     [not found] ` <1470949539-25392-1-git-send-email-wsa-dev-jBu1N2QxHDJrcw3mvpCnnVaTQe2KTcn/@public.gmane.org>
2016-08-11 21:05   ` [PATCH 01/16] net: can: usb: ems_usb: " Wolfram Sang
2016-08-11 21:05   ` [PATCH 02/16] net: can: usb: esd_usb2: " Wolfram Sang
2016-08-11 21:05   ` [PATCH 03/16] net: can: usb: gs_usb: " Wolfram Sang
2016-08-11 21:05   ` [PATCH 04/16] net: can: usb: kvaser_usb: " Wolfram Sang
2016-08-11 21:05   ` [PATCH 05/16] net: can: usb: peak_usb: pcan_usb_core: " Wolfram Sang
2016-08-11 21:05   ` [PATCH 06/16] net: can: usb: usb_8dev: " Wolfram Sang
2016-08-11 21:05   ` [PATCH 07/16] net: usb: hso: " Wolfram Sang
2016-08-11 21:05   ` [PATCH 08/16] net: usb: lan78xx: " Wolfram Sang
     [not found]     ` <1470949539-25392-9-git-send-email-wsa-dev-jBu1N2QxHDJrcw3mvpCnnVaTQe2KTcn/@public.gmane.org>
2016-08-11 21:42       ` Woojung.Huh-UWL1GkI3JZL3oGB3hsPCZA
2016-08-11 21:05   ` [PATCH 09/16] net: usb: usbnet: " Wolfram Sang
2016-08-11 21:05   ` [PATCH 10/16] net: wimax: i2400m: usb-notif: " Wolfram Sang
2016-08-11 21:05 ` [PATCH 11/16] net: wireless: ath: ar5523: ar5523: " Wolfram Sang
2016-08-11 21:05   ` Wolfram Sang
2016-08-11 21:05 ` [PATCH 12/16] net: wireless: broadcom: brcm80211: brcmfmac: usb: " Wolfram Sang
2016-08-11 21:05   ` Wolfram Sang
2016-08-11 21:13 ` [PATCH 13/16] net: wireless: intersil: orinoco: orinoco_usb: " Wolfram Sang
2016-08-11 21:13   ` [PATCH 14/16] net: wireless: marvell: libertas_tf: if_usb: " Wolfram Sang
2016-08-11 21:13   ` [PATCH 15/16] net: wireless: marvell: mwifiex: usb: " Wolfram Sang
2016-08-11 21:13   ` [PATCH 16/16] net: wireless: realtek: rtlwifi: " Wolfram Sang
2016-08-11 21:13     ` Wolfram Sang
2016-08-11 21:35     ` Larry Finger
2016-08-13 21:55 ` [PATCH 00/16] net: " David Miller
2016-08-13 21:55   ` David Miller

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=1470949539-25392-1-git-send-email-wsa-dev@sang-engineering.com \
    --to=wsa-dev@sang-engineering.com \
    --cc=brcm80211-dev-list.pdl@broadcom.com \
    --cc=linux-can@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.