[PATCH 0/2] staging: rtl8192u: Fix sparse warnings

2014-10-12 Thread Koray Gulcu
The first patch fixes some endianness warnings detected by sparse. The second patch amends lines with more than 80 characters in the firs patch. Koray Gulcu (2): staging:rtl8192u: Fix sparse warnings of r8182U_core staging:rtl8192u: Fix checkpatch.pl warnings drivers/staging/rtl8192u

[PATCH 2/2] staging: rtl8192u: Fix checkpatch.pl warnings

2014-10-12 Thread Koray Gulcu
This patch fixes "line over 80 characters" warnings found in the first patch by breaking u4bAcParam's calculation down into a few steps. Signed-off-by: Koray Gulcu --- drivers/staging/rtl8192u/r8192U_core.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions

[PATCH 1/2] staging: rtl8192u: Fix sparse warnings of r8182U_core

2014-10-12 Thread Koray Gulcu
/staging/rtl8192u/r8192U_core.c:1838:34: warning: cast from restricted __le16 drivers/staging/rtl8192u/r8192U_core.c:1839:34: warning: cast from restricted __le16 drivers/staging/rtl8192u/r8192U_core.c:1840:34: warning: cast from restricted __le16 Signed-off-by: Koray Gulcu --- drivers/staging

[PATCH] staging: android: sw_sync.c: fix new line style issues

2014-08-25 Thread Koray Gulcu
Add two new lines that are missing after declerations as detected by checkpatch.pl Signed-off-by: Koray Gulcu --- drivers/staging/android/sw_sync.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c index a76db3f