remove multiple blank lines to fix some checkpatch checks
Signed-off-by: Christian Colic
---
drivers/staging/rtl8192e/rtllib_module.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtllib_module.c
b/drivers/staging/rtl8192e/rtllib_module.c
index 113fbf7
Add blank line after struct declaration to fix checkpatch check.
Signed-off-by: Christian Colic
---
drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c
b/drivers/staging/clocking
Fix checkpatch checks: "Blank lines aren't necessary before a close brace '}' "
Remove two unnecessary blank lines.
Signed-off-by: Christian Colic
---
drivers/staging/wlan-ng/cfg80211.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/wlan-ng/cfg8
Rewrite comparisons to NULL so they dont show any checkpatch errors anymore.
"vc_cons[i].d != NULL" => "vc_cons[i].d"
Signed-off-by: Christian Colic
---
drivers/staging/speakup/buffers.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/stagi
Fix checkpatch error: "braces {} should be used on all arms of this statement"
by adding the necessary braces around the "if".
Signed-off-by: Christian Colic
---
drivers/staging/speakup/devsynth.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dri
Fix checkpatch check: CHECK: spaces preferred around that '-' (ctx:VxV)
Add spaces around operands to fix these warnings.
Signed-off-by: Christian Colic
---
drivers/staging/speakup/keyhelp.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drive
Fix checkpatch check.
Remove an unnecessary space after a cast.
Signed-off-by: Christian Colic
---
drivers/staging/speakup/devsynth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/speakup/devsynth.c
b/drivers/staging/speakup/devsynth.c
index d1ffdf4
linux-ker...@vger.kernel.org
Bcc:
Subject: [PATCH] staging: speakup: (coding style) use braces {} on all arms
of if-statement
Reply-To:
Fix checkpatch error: "braces {} should be used on all arms of this statement"
by adding the necessary braces around the "if".
Signed-off
linux-ker...@vger.kernel.org
Bcc:
Subject: [PATCH] staging: speakup: (coding style) Rewrite comparisons to NULL
Reply-To:
Rewrite comparisons to NULL so they dont show any checkpatch errors anymore.
"vc_cons[i].d != NULL" => "vc_cons[i].d"
Signed-off-by: Christian Coli
Rewrite comparisons to NULL "data->reg_base == NULL" as "!data->reg_base" to
conform to checkpatch.
Signed-off-by: Christian Colic
---
drivers/staging/goldfish/goldfish_audio.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging
Added a space around the "+" at: "reg_base+addr2" to clear up a checkpatch
check.
Signed-off-by: Christian Colic
---
drivers/staging/goldfish/goldfish_audio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/goldfish/goldfish_audio.
Fix checkpatch checks: spaces around + at "reg_base+addr2" and
rewrite comparisons with NULL to "!data->reg_base"
Signed-off-by: Christian Colic
---
drivers/staging/goldfish/goldfish_audio.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/d
Rewrite multiple comparisons to NULL as "!fifo->data"
to fix the last coding style problems of this file.
Signed-off-by: Christian Colic
---
drivers/staging/fwserial/dma_fifo.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/fwserial/
Fix typo SUCESS -> SUCCESS and multiple
checkpatch checks (blank line, indentation).
Signed-off-by: Christian Colic
---
drivers/staging/rtl8712/rtl8712_led.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/rtl8712/rtl8712_led.c
b/driv
14 matches
Mail list logo