linux/drivers/staging/et131x
Joe Perches 78110bb8dc staging: Remove unnecessary OOM messages
alloc failures already get standardized OOM
messages and a dump_stack.

For the affected mallocs around these OOM messages:

Converted kzallocs with multiplies to kcalloc.
Converted kmallocs with multiplies to kmalloc_array.
Converted a kmalloc/strlen/strncpy to kstrdup.
Moved a spin_lock below a removed OOM message and
removed a now unnecessary spin_unlock.
Neatened alignment and whitespace.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-11 10:10:33 -08:00
..
et131x.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
et131x.h staging: et131x: Use register defines instead of magic numbers 2013-01-07 14:03:32 -08:00
Kconfig staging: fix more ET131X build errors 2011-11-18 15:00:54 -08:00
Makefile staging: et131x: Put all .c files into one big file 2011-10-23 10:03:40 +02:00
README staging: et131x: Replace kmem_cache use with plain kmalloc/kfree 2012-11-21 13:57:28 -08:00

This is a driver for the ET1310 network device.

Based on the driver found at https://sourceforge.net/projects/et131x/

Cleaned up immensely by Olaf Hartman and Christoph Hellwig <hch@infradead.org>

Note, the powermanagement options were removed from the vendor provided
driver as they did not build properly at the time.

TODO:
	- some rx packets have CRC/code/frame errors

Please send patches to:
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
	Mark Einon <mark.einon@gmail.com>