Allignment matched to the open parenthesis to avoid the
check detected by the checkpatch.pl.
CHECK: Alignment should match open parenthesis
Signed-off-by: Anjali Menon
---
drivers/staging/emxx_udc/emxx_udc.c | 38 ++---
1 file changed, 18 insertions(+), 20
Added a spaces around '|' to fix the check detected by
checkpatch.pl
CHECK: spaces preferred around that '|' (ctx:VxV)
Signed-off-by: Anjali Menon
---
drivers/staging/lustre/lustre/lov/lov_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/s
Removed unnecessary braces for single statement blocks to
fix the warning detected by checkpatch.pl
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Anjali Menon
---
drivers/staging/wilc1000/wilc_wlan_cfg.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions
Added a space around '/' to remove the check detected by
the checkpatch.pl.
CHECK: spaces preferred around that '/' (ctx:VxV)
Signed-off-by: Anjali Menon
---
drivers/staging/olpc_dcon/olpc_dcon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drive
Removed multiple blank lines to avoid the check detected
by checkpatch.pl.
CHECK: Please don't use multiple blank lines
Signed-off-by: Anjali Menon
---
drivers/staging/rts5208/spi.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/rts5208/spi.c b/drivers/staging/rt
Moved the comments to the next line to remove the warning
detected by the checkpatch.pl.
WARNING: line over 80 characters
Signed-off-by: Anjali Menon
---
drivers/staging/panel/panel.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/panel/panel.c b/drivers
Removed the blank line before the close brace to remove the check
detected by the checkpatch.pl
CHECK: Blank lines aren't necessary before a close brace '}'
Signed-off-by: Anjali Menon
---
drivers/staging/unisys/visornic/visornic_main.c | 1 -
1 file changed, 1 deletion(-
Removed a blank line after the open brace to remove the
check detected by the checkpatch.pl.
CHECK: Blank lines aren't necessary after an open brace '{'
Signed-off-by: Anjali Menon
---
drivers/staging/lustre/lustre/fld/fld_cache.c | 1 -
1 file changed, 1 deletion(-)
diff
Using checkpatch.pl fixed the check.
CHECK: Comparison to NULL could be written "!data"
Signed-off-by: Anjali Menon
---
drivers/staging/android/ion/compat_ion.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/android/ion/compat_ion.c
b/drive
Added a blank line after declarations to remove the coding
style error detected by the checkpatch.pl.
WARNING: Missing a blank line after declarations
Signed-off-by: Anjali Menon
---
drivers/staging/rdma/ehca/ehca_av.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/staging/rdma
Used double equal sign instead of equal to sign in the if condition
to remove the error detected by checkpatch.pl.
ERROR: do not use assignment in if condition
Signed-off-by: Anjali Menon
---
drivers/staging/staging/drivers/staging/most/aim-cdev/cdev.c | 2 +-
1 file changed, 1 insertion(+), 1
Remove the whitespace before declaration detected by
checkpatch.pl
ERROR: space prohibited before that close parenthesis
Signed-off-by: Anjali Menon
---
drivers/staging/fbtft/fbtft-bus.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/fbtft/fbtft-bus.c
Added a blank line after declaration to fix the coding style
error detected by checkpatch.pl
WARNING: Missing a blank line after declarations
Signed-off-by: Anjali Menon
---
drivers/staging/android/ion/ion.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging
Added a blank line after declaration to fix the coding
style warning detected by checkpatch.pl
WARNING: Missing a blank line after declarations
Signed-off-by: Anjali Menon
---
drivers/staging/lustre/lustre/llite/llite_capa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging
Added a blank line after declaration to fix the coding style
warning detected by checkpatch.pl
WARNING: Missing a blank line after declarations
Signed-off-by: Anjali Menon
---
drivers/staging/i2o/pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/i2o/pci.c b/drivers
Removed trailing whitespace in the blank line to fix
the coding style error detected by checkpatch.pl
ERROR: trailing whitespace
Signed-off-by: Anjali Menon
---
drivers/staging/octeon/ethernet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/octeon
en function name and open
parenthesis '('
165: WARNING: space prohibited between function name and open
parenthesis '('
345: WARNING: space prohibited between function name and open
parenthesis '('
447: WARNING: space prohibited between function name and open
parenthe
Added a blank line after declaration. Coding style
warning detected by checkpatch.pl
WARNING: Missing a blank line after declarations
Signed-off-by: Anjali Menon
---
drivers/staging/lustre/lustre/libcfs/module.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/lustre/lustre
Removed a space to fix the following coding style error detected
by checkpatch.pl
ERROR: space prohibited before that '++' (ctx:WxO)
Signed-off-by: Anjali Menon
---
drivers/staging/lustre/lustre/obdclass/llog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drive
Removed the else statement along with some unwanted brackets
to fix the following coding style warning detected by
checkpatch.
WARNING: else is not generally useful after a break or return
Signed-off-by: Anjali Menon
---
drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 16
Removed a space to fix the following coding style warning detected by
checkpatch:
WARNING: space prohibited between function name and open parenthesis '('
Signed-off-by: Anjali Menon
---
Modified the subject
drivers/staging/lustre/lnet/lnet/router.c | 2 +-
1 file changed, 1 inser
Added a space to fix the following coding style error detected by
checkpatch.
ERROR: space required before the open parenthesis '('
Signed-off-by: Anjali Menon
---
drivers/staging/sm750fb/ddk750_dvi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/stagi
This is a patch that fixes line over 80 characters coding style
warning detected by checkpatch.pl.
WARNING: line over 80 characters
Signed-off-by: Anjali Menon
---
drivers/staging/dgnc/dgnc_mgmt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/dgnc
Added a space to fix the following coding style warning detected by
checkpatch:
WARNING: space prohibited between function name and open parenthesis '('
Signed-off-by: Anjali Menon
---
drivers/staging/lustre/lnet/lnet/router.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
Added a space to fix the following coding style error detected by
checkpatch:
ERROR: spaces required around that ':' (ctx:VxE)
Signed-off-by: Anjali Menon
---
drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
25 matches
Mail list logo