diff options
author | 2005-11-01 12:04:33 -0800 | |
---|---|---|
committer | 2005-11-05 14:40:55 -0500 | |
commit | a88c844c1748ba494d38b1053829ec046c74ebfd (patch) | |
tree | d9897386dc4254134cc6e5ca1e6c63f76544fa43 /ipc | |
parent | [PATCH] S2io: Updated documentation (diff) | |
download | linux-dev-a88c844c1748ba494d38b1053829ec046c74ebfd.tar.xz linux-dev-a88c844c1748ba494d38b1053829ec046c74ebfd.zip |
[PATCH] pcnet32: show name of failing device
Display the name eth%d or pci_name() of device which fails to allocate
memory. When changing ring size via ethtool, it also releases the
lock before returning on error. Added comment that the caller of
pcnet32_alloc_ring must call pcnet32_free_ring on error, to avoid leak.
Tested ia32 by forcing allocation errors.
Signed-off-by: Don Fry <brazilnut@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions