Fixed several errors and warnings.
Lines 29, 103, 1319, 1906 and 2408: removed unnecessary spaces or added
appropriate spaces.
Lines 1040 and 1591: changed dev_printk(KERN_DEBUG, ...) to dev_dbg(...).
Signed-off-by: Chase Metzger chasemetzge...@gmail.com
---
drivers/usb/core/devio.c | 15
Removed a warnings(from checkpatch.pl) about sizeof not having parenthesis'.
added parenthesis'
around the strings being used.
Signed-off-by: Chase Metzger chasemetzge...@gmail.com
---
drivers/usb/core/sysfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb
Removed 41 warnings all about a space between a function and the parenthesis'
during a function
call.
Signed-off-by: Chase Metzger chasemetzge...@gmail.com
---
drivers/usb/core/hub.c | 82 +-
1 file changed, 41 insertions(+), 41 deletions(-)
diff
Removed all(except false positives, from calculations) space prohibited
warnings generated by
checkpatch.pl.
Signed-off-by: Chase Metzger chasemetzge...@gmail.com
---
drivers/usb/core/hcd.c | 168 -
1 file changed, 84 insertions(+), 84 deletions
Removed all warnings generated by checkpatch.pl about sizeof not having
parenthesis'.
Signed-off-by: Chase Metzger chasemetzge...@gmail.com
---
drivers/usb/core/hcd.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
Changed dev_dbg(...) back to dev_printk(KERN_DEBUG, ...) based on previous
patches feedback.
Signed-off-by: Chase Metzger chasemetzge...@gmail.com
---
drivers/usb/core/devio.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core
Removed BitTime macro space warnings generated by checkpatch.pl.
Signed-off-by: Chase Metzger chasemetzge...@gmail.com
---
drivers/usb/core/hcd.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index 601476c7..299ff0d
)).
Lines 1319 and 1906: added spaces to fit coding style consistently.
Signed-off-by: Chase Metzger chasemetzge...@gmail.com
---
drivers/usb/core/devio.c | 69
1 file changed, 35 insertions(+), 34 deletions(-)
diff --git a/drivers/usb/core/devio.c b
Removed some checkpatch.pl warnings saying there was an unwanted space between
function names and their arguments.
Signed-off-by: Chase Metzger chasemetzge...@gmail.com
---
drivers/usb/core/hub.c | 40
1 file changed, 20 insertions(+), 20 deletions
Removed some checkpatch.pl warnings saying there was an unwanted space
between function names and their arguments.
Signed-off-by: Chase Metzger chasemetzge...@gmail.com
---
drivers/usb/core/hub.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/usb
Removed some checkpatch.pl warnings saying there was an unwanted space between
function names and their arguments.
Signed-off-by: Chase Metzger chasemetzge...@gmail.com
---
drivers/usb/core/hub.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/usb
Removed some checkpatch.pl warnings saying there was an unwanted space between
function names and their arguments.
Signed-off-by: Chase Metzger chasemetzge...@gmail.com
---
drivers/usb/core/hub.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git
Removed all checkpatch.pl CHECKs that suggested to check NULL by
!obj instead of obj == NULL.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/android/sync.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/a
Removed an unnecessary space between a function name and arguments.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/usb/core/devio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c
index 38ae877c..0
Removed all checkpatch.pl CHECKs that suggested to check NULL by
!obj instead of obj == NULL.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/android/sync.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/a
Removed an unnecessary space between a function name and arguments.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/usb/core/devio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c
index 38ae877c..0
Removed braces for single line if statement.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/greybus/gpio.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c
index ea8234a..5
Added braces to else statements where checkpatch complained.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/greybus/audio_codec.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/greybus/audio_codec.c
b/drivers/staging/g
Added braces to else statements where checkpatch complained.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/greybus/audio_topology.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/greybus/audio_topology.c
b/drivers/s
Added braces to else statement where checkpatch complained.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/greybus/audio_codec.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/greybus/audio_codec.c
b/drivers/staging/g
Removed a checkpatch warning for braces on single argument if and else
statement.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/greybus/timesync.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/greybus/timesync.c
b/d
Added braces for else and else if statements where checkpatch complained.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/greybus/audio_topology.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/greybus/audio_topolog
Added braces to else and else if statements where checkpatch complained.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/greybus/audio_manager_sysfs.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/g
Fix if/else if and braces in function DIO0_irq_handler to comply with
the kernel coding style.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/pi433/pi433_if.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/staging
Replace spaces with tabs where possible to comply with the kernel
coding style.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/pi433/pi433_if.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/pi433/pi433_if.c b/d
Put trailing statement after if/else statements on new line to comply
with the kernel coding style.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/pi433/pi433_if.c | 44 +++-
1 file changed, 30 insertions(+), 14 deletions(-)
Put opening curly braces for if/else/else if statements and for/while loops
on the same line as the statements or loops to comply with the kernel
coding style.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/pi433/pi433_if.c
Remove unnecessary spaces before and after parenthesis' to comply
with the kernel coding style.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/pi433/pi433_if.c | 34 +-
1 file changed, 17 insertions(+), 17 deletions(-)
diff
Fixes some of the coding style violations to comply with the kernel
coding style.
Chase Metzger (6):
staging: pi433: pi433_if.c: fix opening curly brace coding style
issues
staging: pi433: pi433_if.c: fix else if/else statements coding style
issues
staging: pi433: pi433_if.c: fix
Put space(s) in required spots to comply with the kernel coding style.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/pi433/pi433_if.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/pi433/pi433_if.c b/d
Put else if/else statements on same line as if/else if statements
closing curly brace to comply with the kernel coding style.
Signed-off-by: Chase Metzger <chasemetzge...@gmail.com>
---
drivers/staging/pi433/pi433_if.c | 33 +++--
1 file changed, 11 insertions(
Fix if/else if and braces in function DIO0_irq_handler to comply with
the kernel coding style.
Signed-off-by: Chase Metzger
---
drivers/staging/pi433/pi433_if.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging
Fixes some of the coding style violations to comply with the kernel
coding style.
Chase Metzger (6):
staging: pi433: pi433_if.c: fix opening curly brace coding style
issues
staging: pi433: pi433_if.c: fix else if/else statements coding style
issues
staging: pi433: pi433_if.c: fix
Remove unnecessary spaces before and after parenthesis' to comply
with the kernel coding style.
Signed-off-by: Chase Metzger
---
drivers/staging/pi433/pi433_if.c | 34 +-
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/drivers/staging/pi433
Put trailing statement after if/else statements on new line to comply
with the kernel coding style.
Signed-off-by: Chase Metzger
---
drivers/staging/pi433/pi433_if.c | 44 +++-
1 file changed, 30 insertions(+), 14 deletions(-)
diff --git a/drivers/staging
Put opening curly braces for if/else/else if statements and for/while loops
on the same line as the statements or loops to comply with the kernel
coding style.
Signed-off-by: Chase Metzger
---
drivers/staging/pi433/pi433_if.c | 110 ++-
1 file changed, 38
Put space(s) in required spots to comply with the kernel coding style.
Signed-off-by: Chase Metzger
---
drivers/staging/pi433/pi433_if.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
index
Put else if/else statements on same line as if/else if statements
closing curly brace to comply with the kernel coding style.
Signed-off-by: Chase Metzger
---
drivers/staging/pi433/pi433_if.c | 33 +++--
1 file changed, 11 insertions(+), 22 deletions(-)
diff --git
Replace spaces with tabs where possible to comply with the kernel
coding style.
Signed-off-by: Chase Metzger
---
drivers/staging/pi433/pi433_if.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
index
me)).
Lines 1319 and 1906: added spaces to fit coding style consistently.
Signed-off-by: Chase Metzger
---
drivers/usb/core/devio.c | 69
1 file changed, 35 insertions(+), 34 deletions(-)
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devi
Removed 41 warnings all about a space between a function and the parenthesis'
during a function
call.
Signed-off-by: Chase Metzger
---
drivers/usb/core/hub.c | 82 +-
1 file changed, 41 insertions(+), 41 deletions(-)
diff --git a/drivers/usb
Fixed several errors and warnings.
Lines 29, 103, 1319, 1906 and 2408: removed unnecessary spaces or added
appropriate spaces.
Lines 1040 and 1591: changed dev_printk(KERN_DEBUG, ...) to dev_dbg(...).
Signed-off-by: Chase Metzger
---
drivers/usb/core/devio.c | 15 +++
1 file
Removed a warnings(from checkpatch.pl) about sizeof not having parenthesis'.
added parenthesis'
around the strings being used.
Signed-off-by: Chase Metzger
---
drivers/usb/core/sysfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/core/sysfs.c b/drivers
Removed all(except false positives, from calculations) space prohibited
warnings generated by
checkpatch.pl.
Signed-off-by: Chase Metzger
---
drivers/usb/core/hcd.c | 168 -
1 file changed, 84 insertions(+), 84 deletions(-)
diff --git a/drivers
Removed all warnings generated by checkpatch.pl about sizeof not having
parenthesis'.
Signed-off-by: Chase Metzger
---
drivers/usb/core/hcd.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index 557f2b8..601476c7
Changed dev_dbg(...) back to dev_printk(KERN_DEBUG, ...) based on previous
patches feedback.
Signed-off-by: Chase Metzger
---
drivers/usb/core/devio.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c
index 62c0be6
Removed BitTime macro space warnings generated by checkpatch.pl.
Signed-off-by: Chase Metzger
---
drivers/usb/core/hcd.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index 601476c7..299ff0d 100644
--- a/drivers/usb
Removed some checkpatch.pl warnings saying there was an unwanted space between
function names and their arguments.
Signed-off-by: Chase Metzger
---
drivers/usb/core/hub.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/core/hub.c b/drivers/usb
Removed some checkpatch.pl warnings saying there was an unwanted space between
function names and their arguments.
Signed-off-by: Chase Metzger
---
drivers/usb/core/hub.c | 40
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/drivers/usb
Removed some checkpatch.pl warnings saying there was an unwanted space between
function names and their arguments.
Signed-off-by: Chase Metzger
---
drivers/usb/core/hub.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/usb/core/hub.c b
Removed some checkpatch.pl warnings saying there was an unwanted space
between function names and their arguments.
Signed-off-by: Chase Metzger
---
drivers/usb/core/hub.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/core/hub.c b/drivers/usb
Added braces to else statements where checkpatch complained.
Signed-off-by: Chase Metzger
---
drivers/staging/greybus/audio_topology.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/greybus/audio_topology.c
b/drivers/staging/greybus/audio_topology.c
Added braces to else statements where checkpatch complained.
Signed-off-by: Chase Metzger
---
drivers/staging/greybus/audio_codec.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/greybus/audio_codec.c
b/drivers/staging/greybus/audio_codec.c
index 8a0744b
Removed a checkpatch warning for braces on single argument if and else
statement.
Signed-off-by: Chase Metzger
---
drivers/staging/greybus/timesync.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/greybus/timesync.c
b/drivers/staging/greybus
Removed braces for single line if statement.
Signed-off-by: Chase Metzger
---
drivers/staging/greybus/gpio.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c
index ea8234a..5e06e42 100644
--- a/drivers/staging
Added braces to else statement where checkpatch complained.
Signed-off-by: Chase Metzger
---
drivers/staging/greybus/audio_codec.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/greybus/audio_codec.c
b/drivers/staging/greybus/audio_codec.c
index 8a0744b
Added braces to else and else if statements where checkpatch complained.
Signed-off-by: Chase Metzger
---
drivers/staging/greybus/audio_manager_sysfs.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/greybus/audio_manager_sysfs.c
b/drivers/staging
Added braces for else and else if statements where checkpatch complained.
Signed-off-by: Chase Metzger
---
drivers/staging/greybus/audio_topology.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/greybus/audio_topology.c
b/drivers/staging/greybus
Removed an unnecessary space between a function name and arguments.
Signed-off-by: Chase Metzger
---
drivers/usb/core/devio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c
index 38ae877c..0bcd45e 100644
--- a/drivers/usb
Removed all checkpatch.pl CHECKs that suggested to check NULL by
!obj instead of obj == NULL.
Signed-off-by: Chase Metzger
---
drivers/staging/android/sync.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/android/sync.c b/drivers/staging
Removed an unnecessary space between a function name and arguments.
Signed-off-by: Chase Metzger
---
drivers/usb/core/devio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c
index 38ae877c..0bcd45e 100644
--- a/drivers/usb
Removed all checkpatch.pl CHECKs that suggested to check NULL by
!obj instead of obj == NULL.
Signed-off-by: Chase Metzger
---
drivers/staging/android/sync.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/staging/android/sync.c b/drivers/staging
62 matches
Mail list logo