[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100422.155630.10951183.davem@davemloft.net>
Date: Thu, 22 Apr 2010 15:56:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: inaky@...ux.intel.com
Cc: error27@...il.com, netdev@...r.kernel.org, andre.goddard@...il.com,
kernel-janitors@...r.kernel.org, wimax@...uxwimax.org,
linux-wimax@...el.com
Subject: Re: [patch] wimax: wimax_msg_alloc() returns ERR_PTR not null
From: Inaky Perez-Gonzalez <inaky@...ux.intel.com>
Date: Thu, 22 Apr 2010 14:59:56 -0700
> On Thu, 2010-04-22 at 11:46 +0200, Dan Carpenter wrote:
>> wimax_msg_alloc() returns an ERR_PTR and not null. I changed it to test
>> for ERR_PTR instead of null. I also added a check in front of the
>> kfree() because kfree() can handle null but not ERR_PTR.
>>
>> Signed-off-by: Dan Carpenter <error27@...il.com>
>
> Good catch thank you!
>
> Will merge ASAP in preparation for the next push
There was another wimax fix from Dan, subject:
[patch] wimax: checking ERR_PTR vs null
make sure you integrate that one too.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists