diff for duplicates of <20100803081701.GP26313@bicker> diff --git a/a/1.txt b/N1/1.txt index 53a543e..6245d36 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -12,7 +12,8 @@ On Tue, Aug 03, 2010 at 03:10:22AM +0200, Christoph Fritz wrote: > --- a/drivers/net/wireless/ipw2x00/ipw2100.c > +++ b/drivers/net/wireless/ipw2x00/ipw2100.c > @@ -1924,6 +1924,8 @@ static int ipw2100_net_init(struct net_device *dev) -> bg_band->channels > kzalloc(geo->bg_channels * +> bg_band->channels = +> kzalloc(geo->bg_channels * > sizeof(struct ieee80211_channel), GFP_KERNEL); > + if (!bg_band->channels) diff --git a/a/content_digest b/N1/content_digest index 7ef0411..60f3736 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01280797822.11158.55.camel@lovely.krouter\0" "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0Re: [PATCH] wireless: ipw2100: check result of kzalloc()\0" - "Date\0Tue, 03 Aug 2010 08:17:01 +0000\0" + "Date\0Tue, 3 Aug 2010 10:17:01 +0200\0" "To\0Christoph Fritz <chf.fritz@googlemail.com>\0" "Cc\0John W. Linville <linville@tuxdriver.com>" kernel-janitors <kernel-janitors@vger.kernel.org> @@ -25,7 +25,8 @@ "> --- a/drivers/net/wireless/ipw2x00/ipw2100.c\n" "> +++ b/drivers/net/wireless/ipw2x00/ipw2100.c\n" "> @@ -1924,6 +1924,8 @@ static int ipw2100_net_init(struct net_device *dev)\n" - "> \t\tbg_band->channels > \t\t\tkzalloc(geo->bg_channels *\n" + "> \t\tbg_band->channels =\n" + "> \t\t\tkzalloc(geo->bg_channels *\n" "> \t\t\t\tsizeof(struct ieee80211_channel), GFP_KERNEL);\n" "> +\t\tif (!bg_band->channels)\n" "\n" @@ -37,4 +38,4 @@ "regards,\n" dan carpenter -408f25a9575b213189e0b109d9c6ce27c037cf6bf5a6d5bed036f49b70b452dc +adebd2ad9405a380b1c0b9d6555899a6c733554c2bc744acb64cfc9dc1b5cbf0
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.