07 Jan, 2013
1 commit
-
Use strlcpy where possible to ensure the string is \0 terminated.
Use always sizeof(string) instead of 32, ETHTOOL_BUSINFO_LEN
and custom defines.
Use snprintf instead of sprint.
Remove unnecessary inits of ->fw_version
Remove unnecessary inits of drvinfo struct.Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller
29 Mar, 2012
1 commit
-
Remove all #inclusions of asm/system.h preparatory to splitting and killing
it. Performed with the following command:perl -p -i -e 's!^#\s*include\s*.*\n!!' `grep -Irl '^#\s*include\s*' *`
Signed-off-by: David Howells
01 Feb, 2012
2 commits
-
alloc_etherdev has a generic OOM/unable to alloc message.
Remove the duplicative messages after alloc_etherdev calls.Signed-off-by: Joe Perches
Signed-off-by: David S. Miller -
alloc failures use dump_stack so emitting an additional
out-of-memory message is an unnecessary duplication.Remove the allocation failure messages.
Signed-off-by: Joe Perches
Signed-off-by: David S. Miller
29 Nov, 2011
1 commit
-
This patch converts the drivers in drivers/net/ethernet/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.Cc: "David S. Miller"
Cc: Pantelis Antoniou
Cc: Vitaly Bordug
Cc: Wan ZongShun
Cc: Nicolas Pitre
Cc: Giuseppe Cavallaro
Cc: Marc Kleine-Budde
Cc: Jeff Kirsher
Cc: Jiri Pirko
Cc: Daniel Hellstrom
Cc: Alexey Dobriyan
Cc: Tobias Klauser
Cc: Grant Likely
Cc: Jiri Kosina
Cc: Richard Cochran
Cc: Jonas Bonn
Cc: Sebastian Poehn
Cc: Yoshihiro Shimoda
Cc: Ricardo Ribalda Delgado
Cc: "Michał Mirosław"
Signed-off-by: Axel Lin
Acked-by: Wan ZongShun
Signed-off-by: David S. Miller
19 Aug, 2011
1 commit
-
Korina.c is a MIPS-specific SOC driver and is empty on
MIPS since 2.1.7 ...Signed-off-by: Ralf Baechle
Signed-off-by: David S. Miller
18 Aug, 2011
1 commit
-
replace it by ndo_set_rx_mode
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller
13 Aug, 2011
1 commit
-
Move the IDT driver into drivers/net/ethernet/ and make the
necessary Kconfig and Makefile changesCC: "IDT Inc."
CC: Felix Fietkau
CC: Florian Fainelli
Signed-off-by: Jeff Kirsher