From: Don Fry Date: Tue, 1 Nov 2005 20:04:33 +0000 (-0800) Subject: [PATCH] pcnet32: show name of failing device X-Git-Tag: v2.6.15-rc1~721^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a88c844c1748ba494d38b1053829ec046c74ebfd;p=pandora-kernel.git [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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed