18 Aug, 2014
1 commit
-
DBG_PRT uses are unnecessarily complex.
Convert DBG_PRT msglevel to pr_.
This changes the KERN_ type of several uses.
It also enables dynamic_debug for the pr_debug conversions.This patch can be a prelude to converting these pr_
uses to dev_ as appropriate.Other changes:
Realign arguments of these conversions.
Remove now unused static int msglevel declarations.
Remove now unused DBG_PRT #define.Compile tested only.
Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman
23 Jul, 2014
1 commit
-
PortOffset was an unsigned long, but used as an pointer to io
memory. Sometimes it was not properly cast before use, which caused
many warning by sparse.By updating its type to void __iomem *, and reflecting the changes
where it is needed, this removes most of those warnings.Signed-off-by: Guillaume Clement
Signed-off-by: Greg Kroah-Hartman
16 May, 2014
2 commits
-
This patchs fixes tons of warnings such as:
WARNING: braces {} are not necessary for single statement blocks
#354: FILE: drivers/staging/vt6655/wmgr.c:354:
+ for (ii = 0; ii < WLAN_BSSID_LEN; ii++) {
+ pMgmt->abyDesireBSSID[ii] = 0xFF;
+ }Please note: this patch only fixes bracing issues (and there is still a
lot to do); so if you run checkpatch it _will_ throw a lot of errors.
Use --test-only=bracesSigned-off-by: Guido Martínez
Signed-off-by: Greg Kroah-Hartman -
Remove dead code in many places on this driver.
Signed-off-by: Guido Martínez
Signed-off-by: Greg Kroah-Hartman
09 Mar, 2014
1 commit
-
Use u32 to correct the pointer of pdwKey and the size of dwData.
Signed-off-by: Malcolm Priestley
Signed-off-by: Greg Kroah-Hartman
11 Nov, 2013
1 commit
-
This patch fixes the following type of coccinelle detected warnings for
driver vt6655:WARNING: Comparison to bool
Signed-off-by: Teodora Baluta
Signed-off-by: Greg Kroah-Hartman
26 Mar, 2013
3 commits
-
Remove a bunch of useless vertical whitespace.
Convert 3 or more consecutive newlines to 2.
Remove blank lines after open brace and before close brace.Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman -
Commented out code is just noise. Remove them.
Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman -
Returns aren't functions, remove the parentheses to be
more kernel style like.Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman
19 Mar, 2013
1 commit
-
Neatening only.
git diff -w shows no differences.Signed-off-by: Joe Perches
Signed-off-by: Greg Kroah-Hartman
05 Sep, 2012
1 commit
-
Signed-off-by: Justin P. Mattock
Signed-off-by: Greg Kroah-Hartman
03 Aug, 2010
3 commits
-
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
25 Jun, 2010
3 commits
-
Replace all occurrences with unsigned char type.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Replace all occurrences with unsigned short type.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman -
Replace all occurrences with unsigned long type, except for pointer fields that
should be u32 in packed structures and 8-byte-aligned 8 byte long structure
QWORD.Thanks to Jiri Slaby for pointing out that simply replacing by unsigned long is
wrong on x86-64 arch.Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman
23 Jun, 2010
1 commit
-
Use unsigned long instead.
Signed-off-by: Charles Clément
19 Jun, 2010
4 commits
-
Use unsigned long * 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 -
Remove custom macro for unsigned 8-bit integers.
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman
12 May, 2010
1 commit
-
Signed-off-by: Charles Clément
Signed-off-by: Greg Kroah-Hartman
16 Sep, 2009
4 commits
-
Remove use of tbit macros adn remove header file.
Signed-off-by: Jim Lieb
Signed-off-by: Greg Kroah-Hartman -
Remove cplusplus lines from include files
Remove needless ifdefs on includes to conform with C
conventions. Remove misc commented code/includes
Update TODOSigned-off-by: Jim Lieb
Signed-off-by: Greg Kroah-Hartman -
Text only changes to remove textual differences between the vt6655
and vt6656 trees in prep for driver merge.Signed-off-by: Jim Lieb
Signed-off-by: Greg Kroah-Hartman -
The vt6655 and vt6656 drivers are from a common origin but
have drifted apart with minor textual differences. There
are two changes:s/DEVICE_PRT/DBG_PRT/g
and
s/byPktTyp/byPktType/g
This significantly reduces the differences between the two file sets
in preparation to merging the common code. A few whitespace and text bits were
also adjusted.Signed-off-by: Jim Lieb
Cc: Forest Bond
Cc: Bartlomiej Zolnierkiewicz
Signed-off-by: Greg Kroah-Hartman
20 Jun, 2009
1 commit
-
Add pristine upstream vt6655 driver sources to drivers/staging/vt6655. These
files were literally copied from the driver directory in the upstream source
archive, available here:http://www.viaarena.com/Driver/vt6655_linux_src_v1.19.12_x86.zip
Signed-off-by: Forest Bond
Signed-off-by: Greg Kroah-Hartman