19 Jun, 2010
30 commits
-
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Use unsigned long * instead.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Use unsigned short * instead.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Use unsigned char * instead.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Remove custom macro for unsigned 32-bit integers, replace by u32.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Remove custom macro for unsigned 16-bit integers.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Remove custom macro for unsigned 8-bit integers.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Remove custom macro for signed 8-bit integers.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Calcu_LinkQual is already defined a couple lines earlier.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Replace custom macro IS_ETH_ADDRESS_EQUAL by compare_ether_addr from
.Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Replace custom macro IS_NULL_ADDRESS by is_zero_ether_addr from
.Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Replace custom macro IS_BROADCAST_ADDRESS by is_broadcast_ether_addr
from .Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Replace custom macro IS_MULTICAST_ADDRESS by is_multicast_ether_addr
from .
Remove linux/if_ether.h include as it is included in
linux/etherdevice.h already.Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Replace custom minimum packet lenght definition MIN_PACKET_LEN by
ETH_ZLEN from .Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
This is a patch to the phy_calibration.c that fixes up almost all
warnings and errors (except 80 characters limit and lack of tabs errors)
found by the checkpatch.pl toolSigned-off-by: Timofey Trofimov
Signed-off-by: Greg Kroah-Hartman -
This patch fixes line length, brace style and whitespace issues in the
mac_structures.h file found by the checkpatch.pl toolSigned-off-by: Adam Latham
Signed-off-by: Greg Kroah-Hartman -
This patch fixes the use of //C99 comments in the mac_structures.h found by
the checkpatch.pl toolSigned-off-by: Adam Latham
Acked-by: Pekka Enberg
Signed-off-by: Greg Kroah-Hartman -
The C99 specification states in section 6.11.5:
The placement of a storage-class specifier other than at the beginning
of the declaration specifiers in a declaration is an obsolescent
feature.Signed-off-by: Tobias Klauser
Cc: Haiyang Zhang
Cc: Hank Janssen
Signed-off-by: Greg Kroah-Hartman -
This is a patch to the pcl812.c file that fixes up the following
issues:ERROR: code indent should use tabs where possible x 27
WARNING: line over 80 characters x 37
WARNING: please, no space before tabs x 13
WARNING: braces {} are not necessary for single statement blocks x 2
WARNING: printk() should include KERN_ facility level x 22
WARNING: braces {} are not necessary for any arm of this statement x 5Signed-off-by: Gustavo Silva
Acked-by: Ian Abbott
Signed-off-by: Greg Kroah-Hartman
18 Jun, 2010
10 commits
-
I fixed indentation in one place and two long lines, a space and a brace
found by checkpatch.pl and fixed some long lines and whitespace around an =.Signed-off-by: Lars Lindley
Signed-off-by: Alan Cox
Signed-off-by: Greg Kroah-Hartman -
The dmm32at.c and comedi_bond.c comedi driver files contain an
instructional comment block copied over from skel.c about how to format
a driver comment block. This comment was modified in skel.c by a
previous patch in this series to stop Comedi's 'dump_doc' script
treating it as an actual driver comment block. There isn't any need to
repeat this comment block in the other source files, so rather than
modify it, this patch just removes it from those files.Signed-off-by: Ian Abbott
Signed-off-by: Greg Kroah-Hartman -
The Comedi team have a script 'dump_doc' to extract text from the driver
comment block (starting with line 'Driver:') in (most of) the comedi
driver source files. This was recently updated to allow and strip off a
" * " prefix at the start of each line (well actually, it uses the perl
substitution 's/^ ?\* ?//').The skel.c file contains an instructional comment block about how to
format this driver comment block, but the updated 'dump_doc' script
mistakenly treats this as a valid driver comment block. This patch adds
some extra whitespace to stop the instructional comment block being
treated as a valid driver comment block by Comedi's 'dump_doc' script.Signed-off-by: Ian Abbott
Signed-off-by: Greg Kroah-Hartman -
Previous whitespace changes to das08.c removed some whitespace from a
"driver comment block" that the Comedi team would like to keep. "Header
continuation lines" in this comment block should be indented with
whitespace. (This is after the " * " at the start of each line.)Signed-off-by: Ian Abbott
Signed-off-by: Greg Kroah-Hartman -
This is a patch to the quatech_daqp_cs.c file that fixes up the following
issues:ERROR: code indent should use tabs where possible x 1
WARNING: line over 80 characters x 1
WARNING: braces {} are not necessary for single statement blocks x 10
WARNING: printk() should include KERN_ facility level x 6Signed-off-by: Gustavo Silva
Signed-off-by: Greg Kroah-Hartman -
This is a patch to the pcmda12.c file that fixes up five printk() warning issues
Signed-off-by: Gustavo Silva
Signed-off-by: Greg Kroah-Hartman -
This is a patch to the pcl816.c file that fixes up the following
issues:ERROR: code indent should use tabs where possible x 2
WARNING: line over 80 characters x 34
WARNING: please, no space before tabs x 1
WARNING: braces {} are not necessary for single statement blocks x 6
WARNING: printk() should include KERN_ facility level x 15
WARNING: braces {} are not necessary for any arm of this statement x 1Signed-off-by: Gustavo Silva
Signed-off-by: Greg Kroah-Hartman -
This is a patch to the pcl711.c file that fixes up printk()
warning issues.Signed-off-by: Gustavo Silva
Signed-off-by: Greg Kroah-Hartman -
This is a patch to the me4000.c file that fixes up the following
issues:ERROR: space required after that close brace '}' x 13
ERROR: spaces required around that ':' (ctx:VxV) x 3
WARNING: line over 80 characters x 96
WARNING: braces {} are not necessary for any arm of this statement x 2Signed-off-by: Gustavo Silva
Signed-off-by: Greg Kroah-Hartman -
Remove all remaining typedefs from comedi drivers
Signed-off-by: Arun Thomas
Signed-off-by: Greg Kroah-Hartman