[PATCH] Staging: dgnc: dgnc_tty: fixed a line too long style issue

2016-09-17 Thread Cathal Mullaney
Fixed a coding style issue. Signed-off-by: Cathal Mullaney --- drivers/staging/dgnc/dgnc_tty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index 31b18e6..fd46ef0 100644 --- a/drivers/staging/dgnc

[PATCH] Staging: octeon: ethernet-rx: fixed three redundant blank line style issues

2016-09-17 Thread Cathal Mullaney
Fixed three minor coding style issues. Signed-off-by: Cathal Mullaney --- drivers/staging/octeon/ethernet-rx.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index ce1e2a3..f0900d1 100644 --- a/drivers/staging

[PATCH] Staging: rts5208: rtsx_card.c: Fixed brace style issues

2016-09-18 Thread Cathal Mullaney
Fixed several minor brace coding style issues. Signed-off-by: Cathal Mullaney --- drivers/staging/rts5208/rtsx_card.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_card.c b/drivers/staging/rts5208/rtsx_card.c index

[PATCH] staging: dgnc: dgnc_tty: Add missing static keyword.

2016-10-16 Thread Cathal Mullaney
Fixed sparse warning; function not declared static. Signed-off-by: Cathal Mullaney --- drivers/staging/dgnc/dgnc_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index 953d931..ef9a45b 100644 --- a

[PATCH] staging: unisys: visorbus: visorchannel: Refactor locking code to be statically deterministic.

2016-10-19 Thread Cathal Mullaney
of the original code is "frowned upon" according to mails on sparse context checking. Refactoring removes the warning and makes the code more readable. Signed-off-by: Cathal Mullaney --- drivers/staging/unisys/visorbus/visorchannel.c | 26 +- 1 file changed, 17 i

[PATCH v2] staging: unisys: visorbus: visorchannel: Refactor locking code to be statically deterministic.

2016-10-19 Thread Cathal Mullaney
of the original code is "frowned upon" according to mails on sparse context checking. Refactoring removes the warning and makes the code more readable. Signed-off-by: Cathal Mullaney --- V2: Removed unnecessary variable initialization, as suggested by Tim Sell . drivers/staging/unisy