[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100824.145047.179951528.davem@davemloft.net>
Date: Tue, 24 Aug 2010 14:50:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: ssanap@...vell.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch 2/4] pxa168_eth: fix error handling in prope
From: Dan Carpenter <error27@...il.com>
Date: Tue, 24 Aug 2010 18:53:33 +0200
> A couple issues here:
> * Some resources weren't released.
> * If alloc_etherdev() failed it would have caused a NULL dereference
> because "pep" would be null when we checked "if (pep->clk)".
> * Also it's better to propagate the error codes from mdiobus_register()
> instead of just returning -ENOMEM.
>
> 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