lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150727191428.GA17859@lynx>
Date:	Mon, 27 Jul 2015 21:14:28 +0200
From:	Mario Bambagini <mario.bambagini@...il.com>
To:	Dan Carpenter <dan.carpenter@...cle.com>
Cc:	oleg.drokin@...el.com, devel@...verdev.osuosl.org,
	gregkh@...uxfoundation.org, andreas.dilger@...el.com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] staging: lustre: fixed 80-char rule

On Sun, Jul 26, 2015 at 10:14:11PM +0300, Dan Carpenter wrote:
> On Sat, Jul 25, 2015 at 06:22:52PM +0200, Mario Bambagini wrote:
> > This patch fixes 2 lines longer than 80 chars
> > 
> > The first one is a function whose argument has been moved to next line.
> > The second one is a comment split on two lines
> > 
> > The script checkpatch does not complain anymore
> > 
> > Signed-off-by: Mario Bambagini <mario.bambagini@...il.com>
> > ---
> >  drivers/staging/lustre/lustre/llite/llite_capa.c | 6 ++++--
> >  1 file changed, 4 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/staging/lustre/lustre/llite/llite_capa.c b/drivers/staging/lustre/lustre/llite/llite_capa.c
> > index 119f017..1f72066 100644
> > --- a/drivers/staging/lustre/lustre/llite/llite_capa.c
> > +++ b/drivers/staging/lustre/lustre/llite/llite_capa.c
> > @@ -70,7 +70,8 @@ static unsigned long long ll_capa_renewal_retries;
> >  
> >  static int ll_update_capa(struct obd_capa *ocapa, struct lustre_capa *capa);
> >  
> > -static inline void update_capa_timer(struct obd_capa *ocapa, unsigned long expiry)
> > +static inline void update_capa_timer(struct obd_capa *ocapa,
> > +							   unsigned long expiry)
> 
> This is wrong.  Run your patch through checkpatch.pl --strict and it
> will help you.
> 
> regards,
> dan carpenter
> 

Thank you for the hint. I'll resend the set of patches.

regards
MB

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ