X-GM-THRID: 6465584009265020928 X-Received: by 10.46.83.71 with SMTP id t7mr1751713ljd.13.1505388626775; Thu, 14 Sep 2017 04:30:26 -0700 (PDT) X-BeenThere: outreachy-kernel@googlegroups.com Received: by 10.46.16.8 with SMTP id j8ls389321lje.16.gmail; Thu, 14 Sep 2017 04:30:25 -0700 (PDT) X-Google-Smtp-Source: ADKCNb4t8prL5+VSBHcPu3m50iAklA7oxylh/Rzt2B4kjL0pJ7+1wXvt65CCzMJ7p/IAGV4XwXvv X-Received: by 10.46.71.198 with SMTP id u189mr1830703lja.14.1505388625486; Thu, 14 Sep 2017 04:30:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505388625; cv=none; d=google.com; s=arc-20160816; b=OK8nf/tHPT3VZvze5CUepE3HO2HG0kPTDg95yDj13gYZR+ydAn2CC6zEVqBukAkR84 8vKNhYm0SE9oAgTRBKV9jsZuI3MF8sls2Li25CS1L2hHotOprW86vgcJo55fwU31F01V gM/1dAlC8kECQJyFthxxyEc3/1T0CZC3FstnUOJbAY2/B422mBaPmIyD0jOcOn3KrVT+ RxlZUNIYycinufFtxokwxDFZE+uwhtSLiNu8NK3Ag/8+tyt62OP+6TMXLxI+nOodIqCr cSS3v0HkHcPzZtJd6+xm5oA1WcWs+6bG1r5gGV/RcInvS1DkhWdUVbxLvDkbM7O5shdq vnlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:references:message-id:in-reply-to:subject :cc:to:from:date:arc-authentication-results; bh=Z0gAYR0UnDbfjFJkXuUn48KxsdZFxso8v+qfqiqlSEg=; b=vFhVfs4T8KcAoO2aFc5q8adMZuS5CXtfx4FWMCeQDRHBb2q/J5XLsGg90bnoUrtA9W RsK606BrkkxjPYsTfbMHJLN+tFs948qzgc03TdSQc0h2Cx49elrgDcaqKRyIOhW5ppXM VWEas4z+RwWZn42ZBUz832hrBXIkep+BUU3KSkV/ZN39RQMW1nnSDVzhLP/rRtWEyo5g G8Xqz/ebiwUHbFXn4jPBeC731LvOjE0X224yHLoQ3sGtiOj1XtNhRoU55uGVi2DNS7Kc d2lC2EuDNhY+KGP1x0JVbOiq5G374DD0oTJvtJze91acvT+uMvAF+5MS6oEOnpo/4n9Q 8oeA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.134.164.104 is neither permitted nor denied by domain of julia.lawall@lip6.fr) smtp.mailfrom=julia.lawall@lip6.fr Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr. [192.134.164.104]) by gmr-mx.google.com with ESMTPS id k18si82916wmd.1.2017.09.14.04.30.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Sep 2017 04:30:25 -0700 (PDT) Received-SPF: neutral (google.com: 192.134.164.104 is neither permitted nor denied by domain of julia.lawall@lip6.fr) client-ip=192.134.164.104; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.134.164.104 is neither permitted nor denied by domain of julia.lawall@lip6.fr) smtp.mailfrom=julia.lawall@lip6.fr X-IronPort-AV: E=Sophos;i="5.42,392,1500933600"; d="scan'208";a="237475453" Received: from vaio-julia.rsr.lip6.fr ([132.227.76.33]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Sep 2017 13:30:24 +0200 Date: Thu, 14 Sep 2017 13:29:52 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Aastha Gupta cc: outreachy-kernel@googlegroups.com, Oleg Drokin , Andreas Dilger , James Simmons , Greg Kroah-Hartman Subject: Re: [Outreachy kernel] [RESEND PATCH] staging: lustre: fix incorrect multi-line comment style In-Reply-To: <1505387998-6071-1-git-send-email-aastha.gupta4104@gmail.com> Message-ID: References: <1505387998-6071-1-git-send-email-aastha.gupta4104@gmail.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Why did you resend it? If you changed something, then it should be a v2 and there should be a comment about what changed under the ---. Otherwise, you should normally only resend something if someone asks you to. For example, Greg will let us know when he has applied all the patches, and will ask that anything he missed be resent. But in that case it may need to be rebased against the latest version. julia On Thu, 14 Sep 2017, Aastha Gupta wrote: > This patch fixes the checkpatch.pl warning: > > WARNING: block comments use a trailing */ on a separate line > > Signed-off-by: Aastha Gupta > --- > drivers/staging/lustre/lustre/include/lu_object.h | 2 +- > .../staging/lustre/lustre/include/lustre_errno.h | 51 ++++++++++++++-------- > 2 files changed, 35 insertions(+), 18 deletions(-) > > diff --git a/drivers/staging/lustre/lustre/include/lu_object.h b/drivers/staging/lustre/lustre/include/lu_object.h > index 4f213c4..a3c0481 100644 > --- a/drivers/staging/lustre/lustre/include/lu_object.h > +++ b/drivers/staging/lustre/lustre/include/lu_object.h > @@ -1130,7 +1130,7 @@ struct lu_context_key { > { \ > type *value; \ > \ > - BUILD_BUG_ON(PAGE_SIZE < sizeof(*value)); \ > + BUILD_BUG_ON(sizeof(*value) > PAGE_SIZE); \ > \ > value = kzalloc(sizeof(*value), GFP_NOFS); \ > if (!value) \ > diff --git a/drivers/staging/lustre/lustre/include/lustre_errno.h b/drivers/staging/lustre/lustre/include/lustre_errno.h > index 35aefa2..02642be 100644 > --- a/drivers/staging/lustre/lustre/include/lustre_errno.h > +++ b/drivers/staging/lustre/lustre/include/lustre_errno.h > @@ -71,7 +71,8 @@ > #define LUSTRE_EMLINK 31 /* Too many links */ > #define LUSTRE_EPIPE 32 /* Broken pipe */ > #define LUSTRE_EDOM 33 /* Math argument out of domain of > - func */ > + * func > + */ > #define LUSTRE_ERANGE 34 /* Math result not representable */ > #define LUSTRE_EDEADLK 35 /* Resource deadlock would occur */ > #define LUSTRE_ENAMETOOLONG 36 /* File name too long */ > @@ -79,7 +80,8 @@ > #define LUSTRE_ENOSYS 38 /* Function not implemented */ > #define LUSTRE_ENOTEMPTY 39 /* Directory not empty */ > #define LUSTRE_ELOOP 40 /* Too many symbolic links > - encountered */ > + * encountered > + */ > #define LUSTRE_ENOMSG 42 /* No message of desired type */ > #define LUSTRE_EIDRM 43 /* Identifier removed */ > #define LUSTRE_ECHRNG 44 /* Channel number out of range */ > @@ -113,22 +115,28 @@ > #define LUSTRE_EDOTDOT 73 /* RFS specific error */ > #define LUSTRE_EBADMSG 74 /* Not a data message */ > #define LUSTRE_EOVERFLOW 75 /* Value too large for defined data > - type */ > + * type > + */ > #define LUSTRE_ENOTUNIQ 76 /* Name not unique on network */ > #define LUSTRE_EBADFD 77 /* File descriptor in bad state */ > #define LUSTRE_EREMCHG 78 /* Remote address changed */ > #define LUSTRE_ELIBACC 79 /* Can not access a needed shared > - library */ > + * library > + */ > #define LUSTRE_ELIBBAD 80 /* Accessing a corrupted shared > - library */ > + * ibrary > + */ > #define LUSTRE_ELIBSCN 81 /* .lib section in a.out corrupted */ > #define LUSTRE_ELIBMAX 82 /* Attempting to link in too many shared > - libraries */ > + * libraries > + */ > #define LUSTRE_ELIBEXEC 83 /* Cannot exec a shared library > - directly */ > + * directly > + */ > #define LUSTRE_EILSEQ 84 /* Illegal byte sequence */ > #define LUSTRE_ERESTART 85 /* Interrupted system call should be > - restarted */ > + * restarted > + */ > #define LUSTRE_ESTRPIPE 86 /* Streams pipe error */ > #define LUSTRE_EUSERS 87 /* Too many users */ > #define LUSTRE_ENOTSOCK 88 /* Socket operation on non-socket */ > @@ -139,25 +147,31 @@ > #define LUSTRE_EPROTONOSUPPORT 93 /* Protocol not supported */ > #define LUSTRE_ESOCKTNOSUPPORT 94 /* Socket type not supported */ > #define LUSTRE_EOPNOTSUPP 95 /* Operation not supported on transport > - endpoint */ > + * endpoint > + */ > #define LUSTRE_EPFNOSUPPORT 96 /* Protocol family not supported */ > #define LUSTRE_EAFNOSUPPORT 97 /* Address family not supported by > - protocol */ > + * protocol > + */ > #define LUSTRE_EADDRINUSE 98 /* Address already in use */ > #define LUSTRE_EADDRNOTAVAIL 99 /* Cannot assign requested address */ > #define LUSTRE_ENETDOWN 100 /* Network is down */ > #define LUSTRE_ENETUNREACH 101 /* Network is unreachable */ > #define LUSTRE_ENETRESET 102 /* Network dropped connection because of > - reset */ > + * reset > + */ > #define LUSTRE_ECONNABORTED 103 /* Software caused connection abort */ > #define LUSTRE_ECONNRESET 104 /* Connection reset by peer */ > #define LUSTRE_ENOBUFS 105 /* No buffer space available */ > #define LUSTRE_EISCONN 106 /* Transport endpoint is already > - connected */ > + * connected > + */ > #define LUSTRE_ENOTCONN 107 /* Transport endpoint is not > - connected */ > + * connected > + */ > #define LUSTRE_ESHUTDOWN 108 /* Cannot send after transport endpoint > - shutdown */ > + * shutdown > + */ > #define LUSTRE_ETOOMANYREFS 109 /* Too many references: cannot splice */ > #define LUSTRE_ETIMEDOUT 110 /* Connection timed out */ > #define LUSTRE_ECONNREFUSED 111 /* Connection refused */ > @@ -186,7 +200,8 @@ > #define LUSTRE_ERESTARTNOHAND 514 /* restart if no handler.. */ > #define LUSTRE_ENOIOCTLCMD 515 /* No ioctl command */ > #define LUSTRE_ERESTART_RESTARTBLOCK 516 /* restart by calling > - sys_restart_syscall */ > + * sys_restart_syscall > + */ > #define LUSTRE_EBADHANDLE 521 /* Illegal NFS file handle */ > #define LUSTRE_ENOTSYNC 522 /* Update synchronization mismatch */ > #define LUSTRE_EBADCOOKIE 523 /* Cookie is stale */ > @@ -195,9 +210,11 @@ > #define LUSTRE_ESERVERFAULT 526 /* An untranslatable error occurred */ > #define LUSTRE_EBADTYPE 527 /* Type not supported by server */ > #define LUSTRE_EJUKEBOX 528 /* Request initiated, but will not > - complete before timeout */ > + * complete before timeout > + */ > #define LUSTRE_EIOCBQUEUED 529 /* iocb queued, will get completion > - event */ > + * event > + */ > #define LUSTRE_EIOCBRETRY 530 /* iocb queued, will trigger a retry */ > > /* > -- > 2.7.4 > > -- > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > To post to this group, send email to outreachy-kernel@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1505387998-6071-1-git-send-email-aastha.gupta4104%40gmail.com. > For more options, visit https://groups.google.com/d/optout. >