Staging: lustre: lcommon_misc: Correct block comment style
PATCH v2 1/1 Staging: lustre: lcommon_misc: Correct block comment style
Alignment of block comments should be correct.
Fix checkpatch WARNING: Block comments use a trailing */ on a separate line
Signed-off-by Shivani Bhardwaj <[email protected]>
--- drivers/staging/lustre/lustre/lclient/lcommon_misc.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
drivers/staging/lustre/lustre/lclient/lcommon_misc.c +8 -4
@@ -45,10 +45,12 @@#include "../include/lustre_lite.h" -/* Initialize the default and maximum LOV EA and cookie sizes. This allows +/* +* Initialize the default and maximum LOV EA and cookie sizes. This allows * us to make MDS RPCs with large enough reply buffers to hold the * maximum-sized (= maximum striped) EA and cookie without having to -* calculate this (via a call into the LOV + OSCs) each time we make an RPC. */ +* calculate this (via a call into the LOV + OSCs) each time we make an RPC. +*/ int cl_init_ea_size (struct obd_export *md_exp,struct obd_export *dt_exp) {struct lov_stripe_md lsm = { .lsm_magic =LOV_MAGIC_V3 };
@@ -73,8 +75,10 @@ int cl_init_ea_size(struct obd_export *md_exp, struct obd_export *dt_exp) cookiesize = stripes *sizeof (struct llog_cookie ); -/* default cookiesize is 0 because from 2.4 server doesn't send -* llog cookies to client. */ +/* +* default cookiesize is 0 because from 2.4 server doesn't send +* llog cookies to client. +*/ CDEBUG (D_HA ,"updating def/max_easize: %d/%d def/max_cookiesize: 0/%d\n" , def_easize, easize, cookiesize);
Signature · 1 line
2.1.0
Greg KH
maintainerQuoted 8 lines · Shivani Bhardwaj
Alignment of block comments should be correct.
Fix checkpatch WARNING: Block comments use a trailing */ on a separate lineSigned-off-by Shivani Bhardwaj <[email protected]>--- drivers/staging/lustre/lustre/lclient/lcommon_misc.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
What happened in v2?