[PATCH] staging: speakup: Clean up checkpatch warnings

2017-02-15 Thread Olav Haugan
Fix checkpatch warnings. Signed-off-by: Olav Haugan --- drivers/staging/speakup/synth.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c index a61c02ba06da..8340748ae9cb 100644 --- a

[PATCHv2 0/2] Checkpatch fixes for speakup

2017-02-16 Thread Olav Haugan
v2: -Split fixes into separate patches Olav Haugan (2): staging: speakup: (coding style) Simplify comparisons to NULL staging: speakup: (coding style) Limit line to 80 chars drivers/staging/speakup/synth.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions

[PATCHv2 2/2] staging: speakup: (coding style) Limit line to 80 chars

2017-02-16 Thread Olav Haugan
Fix checkpatch warning about line being over 80 characters. Signed-off-by: Olav Haugan --- drivers/staging/speakup/synth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c index b57315110e67..8340748ae9cb

[PATCHv2 1/2] staging: speakup: (coding style) Simplify comparisons to NULL

2017-02-16 Thread Olav Haugan
Fix checkpatch check notices by simplifying comparisons to NULL. Signed-off-by: Olav Haugan --- drivers/staging/speakup/synth.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/speakup/synth.c b/drivers/staging/speakup/synth.c index

[PATCH] staging: wlan-ng: prism2mib.c: Fix type cast issues

2017-06-13 Thread Olav Haugan
restricted __le16 [usertype] prism2mib.c:755:22: warning: incorrect type in assignment (different base types) prism2mib.c:755:22:expected unsigned short [unsigned] [usertype] len prism2mib.c:755:22:got restricted __le16 [usertype] Signed-off-by: Olav Haugan --- drivers/staging/wlan-ng