Re: [patch] wimax: wimax_msg_alloc() returns ERR_PTR not null

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

Good catch thank you!

Will merge ASAP in preparation for the next push


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

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux