[PATCH 3/3] staging: xgifb: vb_setmode: brace style fixes

2018-01-11 Thread kballou
Add braces to certain "multiline" conditions where "multiline" means including comments. Signed-off-by: kballou --- drivers/staging/xgifb/vb_setmode.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/drivers/staging/xgifb/vb_

[PATCH 0/3] staging: xgifb: checkpatch fixes

2018-01-11 Thread kballou
This patch series fixes a number of checkpatch issues with the `xgifb` driver in staging. This is my first patch set, so keeping it short for learning. In patches 2/3 and 3/3, there are a number of "CamelCase" and "unnecessary parentheses" checks still failing. I'm not sure if I should be fixing

[PATCH 2/3] staging: xgifb: vb_setmode: fix 80 char lines

2018-01-11 Thread kballou
Fix a number of checkpatch warnings in xgfib/vb_setmode.c about line length being over 80 characters. Signed-off-by: kballou --- drivers/staging/xgifb/vb_setmode.c | 78 ++ 1 file changed, 54 insertions(+), 24 deletions(-) diff --git a/drivers/staging/xgifb

[PATCH 1/3] staging: xgifb: vb_table: fix whitespacing issues

2018-01-11 Thread kballou
Correct minor checkpatch issues. Signed-off-by: kballou --- drivers/staging/xgifb/vb_table.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/vb_table.h b/drivers/staging/xgifb/vb_table.h index 0da63e1da32f..42ecf7fe6766 100644 --- a/drivers/staging