From: Bhanusree Pola Date: Tue, 19 Feb 2019 09:25:25 +0000 (+0530) Subject: staging: erofs: match alignment with open parentheses X-Git-Tag: v5.4-rc1~1509^2~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cbebe5d05dd7fe2fdd13cff7c4a62f22109f1f95;p=platform%2Fkernel%2Flinux-rpi.git staging: erofs: match alignment with open parentheses Align code with open parantheses to improve the readability. Issue found using checkpatch.pl Signed-off-by: Bhanusree Pola Reviewed-by: Gao Xiang Reviewed-by: Chao Yu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/erofs/dir.c b/drivers/staging/erofs/dir.c index 833f052..e195570 100644 --- a/drivers/staging/erofs/dir.c +++ b/drivers/staging/erofs/dir.c @@ -24,8 +24,8 @@ static const unsigned char erofs_filetype_table[EROFS_FT_MAX] = { }; static int erofs_fill_dentries(struct dir_context *ctx, - void *dentry_blk, unsigned int *ofs, - unsigned int nameoff, unsigned int maxsize) + void *dentry_blk, unsigned int *ofs, + unsigned int nameoff, unsigned int maxsize) { struct erofs_dirent *de = dentry_blk; const struct erofs_dirent *end = dentry_blk + nameoff; @@ -104,9 +104,9 @@ static int erofs_readdir(struct file *f, struct dir_context *ctx) nameoff = le16_to_cpu(de->nameoff); if (unlikely(nameoff < sizeof(struct erofs_dirent) || - nameoff >= PAGE_SIZE)) { + nameoff >= PAGE_SIZE)) { errln("%s, invalid de[0].nameoff %u", - __func__, nameoff); + __func__, nameoff); err = -EIO; goto skip_this;