[PATCH] staging: vchiq_arm: add __user pointer annotations

2018-11-28 Thread Szilveszter Székely
Add __user to pointers based on context and suggestions by sparse. Other sparse warnings still remain, in cases where more change would be required apart from adding __user. Signed-off-by: Szilveszter Székely --- .../interface/vchiq_arm/vchiq_arm.c | 28

[PATCH] staging: rtl8192u: swap comparison to constant

2017-05-25 Thread Szilveszter Székely
Comparisons should place the constant on the right side of the test This patch fixes coding style issues as reported by checkpatch. Signed-off-by: Szilveszter Székely <szekelysz...@gmail.com> --- drivers/staging/rtl8192u/r8192U_core.c | 10 +- 1 file changed, 5 insertions