[PATCH 4/6] staging: erofs: formatting add spaces arround '*'

2018-08-30 Thread Pavel Zemlyanoy
This patch does not change the logic, it only corrects the formatting and checkpatch check by adding spaces around '*'. The patch fixes 1 check of type: "Check: spaces preferred around that '*'". Signed-off-by: Pavel Zemlyanoy --- drivers/staging/erofs/unzip_vle_lz4.c | 2 +- 1 file

[PATCH 3/6] staging: erofs: formatting spaces around '-'

2018-08-30 Thread Pavel Zemlyanoy
This patch does not change the logic, it only corrects the formatting and checkpatch checks by adding spaces around '-'. The patch fixes 4 checks of type: "Check: spaces preferred around that '-'". Signed-off-by: Pavel Zemlyanoy --- drivers/staging/erofs/unzip_vle_lz4.c | 8 --

[PATCH 2/6] staging: erofs: formatting fix to NULL comparison

2018-08-30 Thread Pavel Zemlyanoy
This patch does not change the logic, it only corrects the formatting and checkpatch checks by to NULL comparison. The patch fixes 5 checks of type: "Comparison to NULL could be written". Signed-off-by: Pavel Zemlyanoy --- drivers/staging/erofs/unzip_vle_lz4.c | 10 +- 1 fi

[PATCH 6/6] staging: erofs: fix 1 warning and 9 checks

2018-08-30 Thread Pavel Zemlyanoy
: "Check: braces {} should be used on all arms of this statement"; "Check: Unbalanced braces around else statement"; and 1 warning of type: "WARNING: braces {} are not necessary for any arm of this statement". Signed-off-by: Pavel Zemlyanoy --- drivers/stag

[PATCH 5/6] staging: erofs: formatting alignment parenthesis

2018-08-30 Thread Pavel Zemlyanoy
This patch does not change the logic, it only corrects the formatting and checkpatch check by alignment should match open parenthesis. The patch fixes 2 check of type: "Check: Alignment should match open parenthesis". Signed-off-by: Pavel Zemlyanoy --- drivers/staging/erofs/unzip_vle

[PATCH 1/6] staging: erofs: formatting fix in unzip_vle_lz4.c

2018-08-30 Thread Pavel Zemlyanoy
This patch does not change the logic, it only corrects the formatting and checkpatch warnings by adding "int" to the unsigned type. The patch fixes 11 warnings of the type: "WARNING: Prefer 'unsigned int' to bare use of 'unsigned'" Signed-off-by: Pavel Zemlyanoy --- d

[PATCH] staging: erofs: formatting unzip_vle_lz4.c

2018-08-30 Thread Pavel Zemlyanoy
This patch changes the coding style for unzip_vle_lz4.c, following the accepted formatting rules. Signed-off-by: Pavel Zemlyanoy --- drivers/staging/erofs/unzip_vle_lz4.c | 72 ++- 1 file changed, 37 insertions(+), 35 deletions(-) diff --git a/drivers/staging