[PATCH] staging: wlan-ng: Fix sparse warnings about endianness

2017-01-10 Thread Eric Salem
Fixed sparse warnings about endianness. E.g.: warning: cast to restricted __le16 Signed-off-by: Eric Salem --- drivers/staging/wlan-ng/hfa384x.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h index

[PATCH v2] staging: most: hdm-usb: Fix mismatch between types used in sizeof operator

2017-01-10 Thread Eric Salem
Fixed mismatch between types used in sizeof operator. Signed-off-by: Eric Salem --- drivers/staging/most/hdm-usb/hdm_usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/most/hdm-usb/hdm_usb.c b/drivers/staging/most/hdm-usb/hdm_usb.c index 8a6da16

[PATCH] staging: most: hdm-usb: Fix sparse warning cast to restricted __le16

2017-01-09 Thread Eric Salem
Fixed the following sparse warning: drivers/staging/most/hdm-usb/hdm_usb.c:158:16: warning: cast to restricted __le16 by correcting the variable's type (also updated sizeof). Signed-off-by: Eric Salem --- drivers/staging/most/hdm-usb/hdm_usb.c | 4 ++-- 1 file changed, 2 insertions(

[PATCH v2] Staging: android: fixed permissions style issue

2016-09-25 Thread Eric Salem
Fixed a coding style issue. Changed symbolic permissions to octal. Signed-off-by: Eric Salem --- drivers/staging/android/lowmemorykiller.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android

[PATCH] Staging: android: fixed permissions style issue

2016-09-25 Thread Eric Salem
Fixed a coding style issue. Changed symbolic permissions to octal. Signed-off-by: Eric Salem --- drivers/staging/android/lowmemorykiller.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android