[PATCH] wlan-ng: hfa384x: fix several type issues.

2017-05-23 Thread Nikola Jelic
There were several in-place conversions of 16 and 32-bit data, which caused sparse to detect them. Changed them to the in situ versions, such as: le16_to_cpu -> le16_to_cpus Signed-off-by: Nikola Jelic --- drivers/staging/wlan-ng/hfa384x_usb.c | 18 -- 1 file changed

[PATCH] media: bcm2048: fix several macros

2017-04-08 Thread Nikola Jelic
Some of the macros didn't use the parenthesis around the parameters when used in the body of the macro. Signed-off-by: Nikola Jelic --- drivers/staging/media/bcm2048/radio-bcm2048.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/media/bc