summaryrefslogtreecommitdiffstats
path: root/drivers/net/davinci_emac.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2010-11-23 11:43:44 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-28 11:33:49 -0800
commitbcc70bb3aeae7c3d035881d41055685f08a2b745 (patch)
treed315f22c30a9356f8294669bb9c9cf31f844ff12 /drivers/net/davinci_emac.c
parent3c6f27bf33052ea6ba9d82369fb460726fb779c0 (diff)
net, ppp: Report correct error code if unit allocation failed
Allocating unit from ird might return several error codes not only -EAGAIN, so it should not be changed and returned precisely. Same time unit release procedure should be invoked only if device is unregistering. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> CC: Paul Mackerras <paulus@samba.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/davinci_emac.c')
0 files changed, 0 insertions, 0 deletions