Re: [patch -next] stmmac: handle allocation errors in setup functions

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

 



From: Dan Carpenter <error27@xxxxxxxxx>
Date: Thu, 22 Jul 2010 13:16:48 +0200

> If the allocations fail in either dwmac1000_setup() or dwmac100_setup()
> then return NULL.  These are called from stmmac_mac_device_setup().  The 
> check for NULL returns in stmmac_mac_device_setup() needed to be moved 
> forward a couple lines.
> 
> Signed-off-by: Dan Carpenter <error27@xxxxxxxxx>

Applied.
--
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