[PATCH] staging:fbtft/fbtft-io: Fix incorrect type in assignment

2017-03-23 Thread Zhengyi Shen
Fix endian sparse warnings of incorrect type in assignment. This patch changes type to the appropriate endian specific versions. Signed-off-by: Zhengyi Shen --- drivers/staging/fbtft/fbtft-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fbtft-io.c

[PATCH] staging:most/hdm-i2c: Replace symbolic permissions with octal permissions

2017-02-03 Thread Zhengyi Shen
WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'. This warning was detected by checkpatch.pl for hdm_i2c.c. Signed-off-by: Zhengyi Shen --- drivers/staging/most/hdm-i2c/hdm_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 del

[PATCH] staging: lustre: fix coding style issue in vvp_page.c

2017-02-02 Thread Zhengyi Shen
This is a patch to fix "WARNING: line over 80 characters" found by checkpatch.pl in vvp_page.c. Signed-off-by: Zhengyi Shen --- drivers/staging/lustre/lustre/llite/vvp_page.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/llite/vvp

[PATCH] staging/emxx_udc: Fix styling issues

2017-02-02 Thread Zhengyi Shen
Fix line over 80 characters. Statements longer than 80 columns were broken into sensible chunks. Descendants in four different palces were in the same uniform style. Signed-off-by: Zhengyi Shen --- drivers/staging/emxx_udc/emxx_udc.c | 13 - 1 file changed, 8 insertions(+), 5