From: Arshad Hussain Date: Mon, 5 Feb 2024 10:45:01 +0000 (+0530) Subject: LU-6142 obdclass: Fix style issues for lustre_idmap.h X-Git-Tag: 2.15.62~233 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=1ba91ed081a3b717dcb57773dd31968d8161ed4e;p=fs%2Flustre-release.git LU-6142 obdclass: Fix style issues for lustre_idmap.h This patch fixes issues reported by checkpatch for file lustre/include/lustre_idmap.h Test-Parameters: trivial Signed-off-by: Arshad Hussain Change-Id: I975d7f719bb2841db93c6b9cda530e02984d9ca3 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53913 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Timothy Day Reviewed-by: Oleg Drokin --- diff --git a/lustre/include/lustre_idmap.h b/lustre/include/lustre_idmap.h index 35f55eb..5ba270f 100644 --- a/lustre/include/lustre_idmap.h +++ b/lustre/include/lustre_idmap.h @@ -53,7 +53,8 @@ #define CFS_NGROUPS_PER_BLOCK ((int)(PAGE_SIZE / sizeof(gid_t))) #define CFS_GROUP_AT(gi, i) \ - ((gi)->blocks[(i) / CFS_NGROUPS_PER_BLOCK][(i) % CFS_NGROUPS_PER_BLOCK]) + ((gi)->blocks[(i) / CFS_NGROUPS_PER_BLOCK][(i) % \ + CFS_NGROUPS_PER_BLOCK]) #endif /* HAVE_GROUP_INFO_GID */