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

2016-10-19 Thread Cathal Mullaney
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 <chuckleberryf...@gmail.com> --- V2: Removed unnecessary variable initialization, as suggested by Tim Sell <timo

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

2016-10-19 Thread Cathal Mullaney
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 <chuckleberryf...@gmail.com> --- drivers/staging/unisys/visorbus/visorchannel.c | 26 +- 1

[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 <chuckleberryf...@gmail.com> --- 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 9

[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 <chuckleberryf...@gmail.com> --- drivers/staging/rts5208/rtsx_card.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/rts5208/rtsx_card.c b/d

[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 <chuckleberryf...@gmail.com> --- 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..f

[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 <chuckleberryf...@gmail.com> --- 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