[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100722.141324.76106225.davem@davemloft.net>
Date: Thu, 22 Jul 2010 14:13:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: peppe.cavallaro@...com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch -next] stmmac: handle allocation errors in setup
functions
From: Dan Carpenter <error27@...il.com>
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@...il.com>
Applied.
--
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