diff options
author | Dan Carpenter <error27@gmail.com> | 2010-08-24 02:53:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-24 17:50:26 -0400 |
commit | 945c7c73e2e81d68e3e2970afd95254e8f153fc9 (patch) | |
tree | cfbeb347dbc281bc786b591396d180f8ef051778 /README | |
parent | 4169591fd7c260b2b0b4e8f4d51f63f5b15ad78a (diff) |
pxa168_eth: fix error handling in prope
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions