Re: [PATCH] staging: erofs: fix if assignment style issue

2018-08-05 Thread Chao Yu
On 2018/8/5 23:21, Kristaps Čivkulis wrote: > Fix coding style issue "do not use assignment in if condition" > detected by checkpatch.pl. > > Signed-off-by: Kristaps Čivkulis Reviewed-by: Chao Yu Thanks, ___ devel mailing list

Re: [PATCH] staging: erofs: fix if assignment style issue

2018-08-05 Thread Gao Xiang
Hi Kristaps, On 2018/8/5 23:21, Kristaps Čivkulis wrote: > Fix coding style issue "do not use assignment in if condition" > detected by checkpatch.pl. > > Signed-off-by: Kristaps Čivkulis I don't know whether this rule is mandatory or not for the current linux kernel when I checked the original

[PATCH] staging: erofs: fix if assignment style issue

2018-08-05 Thread Kristaps Čivkulis
Fix coding style issue "do not use assignment in if condition" detected by checkpatch.pl. Signed-off-by: Kristaps Čivkulis --- drivers/staging/erofs/unzip_vle.c | 3 ++- drivers/staging/erofs/xattr.c | 16 2 files changed, 10 insertions(+), 9 deletions(-) diff --git