* [PATCH v2] Staging: lustre: lcommon_misc: Correct block comment style
@ 2015-10-18 17:46 Shivani Bhardwaj
2015-10-25 1:39 ` [Outreachy kernel] " Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Shivani Bhardwaj @ 2015-10-18 17:46 UTC (permalink / raw)
To: outreachy-kernel
Alignment of block comments should be correct.
Fix checkpatch WARNING: Block comments use a trailing */ on a separate
line
Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
---
drivers/staging/lustre/lustre/lclient/lcommon_misc.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/lustre/lustre/lclient/lcommon_misc.c b/drivers/staging/lustre/lustre/lclient/lcommon_misc.c
index 8389a0e..8458a62 100644
--- a/drivers/staging/lustre/lustre/lclient/lcommon_misc.c
+++ b/drivers/staging/lustre/lustre/lclient/lcommon_misc.c
@@ -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);
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Outreachy kernel] [PATCH v2] Staging: lustre: lcommon_misc: Correct block comment style
2015-10-18 17:46 [PATCH v2] Staging: lustre: lcommon_misc: Correct block comment style Shivani Bhardwaj
@ 2015-10-25 1:39 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2015-10-25 1:39 UTC (permalink / raw)
To: Shivani Bhardwaj; +Cc: outreachy-kernel
On Sun, Oct 18, 2015 at 11:16:45PM +0530, Shivani Bhardwaj wrote:
> Alignment of block comments should be correct.
> Fix checkpatch WARNING: Block comments use a trailing */ on a separate
> line
>
> Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
> ---
> drivers/staging/lustre/lustre/lclient/lcommon_misc.c | 12 ++++++++----
> 1 file changed, 8 insertions(+), 4 deletions(-)
What happened in v2?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-25 8:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-18 17:46 [PATCH v2] Staging: lustre: lcommon_misc: Correct block comment style Shivani Bhardwaj
2015-10-25 1:39 ` [Outreachy kernel] " Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.