From: Marc Kleine-Budde <mkl@pengutronix.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH] drivers: net: Remove remaining alloc/OOM messages
Date: Fri, 08 Feb 2013 00:29:14 +0100 [thread overview]
Message-ID: <511438CA.8060003@pengutronix.de> (raw)
In-Reply-To: <1360273587.27863.15.camel@joe-AO722>
On 02/07/2013 10:46 PM, Joe Perches wrote:
> alloc failures already get standardized OOM
> messages and a dump_stack.
>
> For the affected mallocs around these OOM messages:
>
> Converted kmallocs with multiplies to kmalloc_array.
> Converted a kmalloc/memcpy to kmemdup.
> Removed now unused stack variables.
> Removed unnecessary parentheses.
> Neatened alignment.
>
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
> Let me know if you want multiple small patches instead.
>
> drivers/net/can/usb/ems_usb.c | 4 +-
For ems_usb.c
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20130208/23bc9e5e/attachment-0001.pgp
WARNING: multiple messages have this Message-ID (diff)
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Joe Perches <joe@perches.com>
Cc: netdev <netdev@vger.kernel.org>,
linux-can@vger.kernel.org, linux-kernel@vger.kernel.org,
e1000-devel@lists.sourceforge.net, linux-usb@vger.kernel.org,
linux-wireless@vger.kernel.org, ath9k-devel@lists.ath9k.org,
wil6210@qca.qualcomm.com, brcm80211-dev-list@broadcom.com,
devicetree-discuss <devicetree-discuss@lists.ozlabs.org>
Subject: Re: [PATCH] drivers: net: Remove remaining alloc/OOM messages
Date: Fri, 08 Feb 2013 00:29:14 +0100 [thread overview]
Message-ID: <511438CA.8060003@pengutronix.de> (raw)
In-Reply-To: <1360273587.27863.15.camel@joe-AO722>
[-- Attachment #1: Type: text/plain, Size: 927 bytes --]
On 02/07/2013 10:46 PM, Joe Perches wrote:
> alloc failures already get standardized OOM
> messages and a dump_stack.
>
> For the affected mallocs around these OOM messages:
>
> Converted kmallocs with multiplies to kmalloc_array.
> Converted a kmalloc/memcpy to kmemdup.
> Removed now unused stack variables.
> Removed unnecessary parentheses.
> Neatened alignment.
>
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
> Let me know if you want multiple small patches instead.
>
> drivers/net/can/usb/ems_usb.c | 4 +-
For ems_usb.c
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Joe Perches <joe@perches.com>
Cc: netdev <netdev@vger.kernel.org>,
linux-can@vger.kernel.org, linux-kernel@vger.kernel.org,
e1000-devel@lists.sourceforge.net, linux-usb@vger.kernel.org,
linux-wireless@vger.kernel.org, ath9k-devel@venema.h4ckr.net,
wil6210@qca.qualcomm.com, brcm80211-dev-list@broadcom.com,
devicetree-discuss <devicetree-discuss@lists.ozlabs.org>
Subject: Re: [PATCH] drivers: net: Remove remaining alloc/OOM messages
Date: Fri, 08 Feb 2013 00:29:14 +0100 [thread overview]
Message-ID: <511438CA.8060003@pengutronix.de> (raw)
In-Reply-To: <1360273587.27863.15.camel@joe-AO722>
[-- Attachment #1: Type: text/plain, Size: 927 bytes --]
On 02/07/2013 10:46 PM, Joe Perches wrote:
> alloc failures already get standardized OOM
> messages and a dump_stack.
>
> For the affected mallocs around these OOM messages:
>
> Converted kmallocs with multiplies to kmalloc_array.
> Converted a kmalloc/memcpy to kmemdup.
> Removed now unused stack variables.
> Removed unnecessary parentheses.
> Neatened alignment.
>
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
> Let me know if you want multiple small patches instead.
>
> drivers/net/can/usb/ems_usb.c | 4 +-
For ems_usb.c
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
next prev parent reply other threads:[~2013-02-07 23:29 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-07 21:46 [ath9k-devel] [PATCH] drivers: net: Remove remaining alloc/OOM messages Joe Perches
2013-02-07 21:46 ` Joe Perches
2013-02-07 21:46 ` Joe Perches
2013-02-07 22:07 ` [ath9k-devel] " Arend van Spriel
2013-02-07 22:07 ` Arend van Spriel
2013-02-07 22:07 ` Arend van Spriel
2013-02-07 23:29 ` Marc Kleine-Budde [this message]
2013-02-07 23:29 ` Marc Kleine-Budde
2013-02-07 23:29 ` Marc Kleine-Budde
2013-02-08 16:19 ` [ath9k-devel] " John W. Linville
2013-02-08 16:19 ` John W. Linville
2013-02-08 22:45 ` [ath9k-devel] " David Miller
2013-02-08 22:45 ` David Miller
2013-02-08 22:45 ` David Miller
2013-02-08 22:45 ` David Miller
2013-02-09 0:29 ` Other alloc/OOM message question Joe Perches
2013-02-09 0:46 ` Greg KH
2013-02-09 0:46 ` Greg KH
2013-02-09 21:45 ` [RFC PATCH] dma_alloc_consistent: Remove OOM messages after failure Joe Perches
2013-02-09 21:45 ` Joe Perches
2013-02-10 7:57 ` [ath9k-devel] [PATCH] drivers: net: Remove remaining alloc/OOM messages Vladimir Kondratiev
2013-02-10 7:57 ` Vladimir Kondratiev
2013-02-10 7:57 ` Vladimir Kondratiev
2013-02-10 7:57 ` Vladimir Kondratiev
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=511438CA.8060003@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=ath9k-devel@lists.ath9k.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.