From: Sebastian Herbszt <herbszt@gmx.de>
To: James Smart <james.smart@avagotech.com>
Cc: linux-scsi@vger.kernel.org, Sebastian Herbszt <herbszt@gmx.de>
Subject: Re: [PATCH v2 12/15] lpfc: Fix rport leak.
Date: Wed, 27 May 2015 23:32:00 +0200 [thread overview]
Message-ID: <20150527233200.00006352@localhost> (raw)
In-Reply-To: <5564755B.5030302@avagotech.com>
James Smart wrote:
> Sebastian,
>
> Re: more than 1 space between a type declaration and a variable name - I
> do not believe that's a hard requirement. It fully passes checkpatch.
> Yes, consistent style use (aligning all variable names at same offset,
> or always 1) would be good - but code has been there so long with
> althernate styles it doesn't really matter at this point. I did clean
> up those in your last review as I needed to do a mod for the LS_RJT
> behavior. But... this seems like a nit. I did promise Christoph that I
> would pick a good point and retrofit the sources for all sparse warnings
> - and still owe him.
>
> Re: Checkpatch and string splitting. I understand we aren't passing
> checkpatch for that rule, but joining them would have checkpatch
> flagging us for beyond 80 character lines.
checkpatch seems to just follow what's mentioned in CodingStyle "Chapter 2:
Breaking long lines and strings":
"However, never break user-visible strings such as printk messages, because
that breaks the ability to grep for them."
The tool is actually smart enough to not flag such lines as LONG_LINE.
> I'd much rather have the
> splits and keep the indenting for readability. We have also had this
> error quite a bit in the past and believe we have been grandfathered as
> there's a lot of this already.
>
> James B - any comments on the above ?
>
> -- james s
Sebastian
next prev parent reply other threads:[~2015-05-27 21:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-21 17:55 [PATCH v2 12/15] lpfc: Fix rport leak James Smart
2015-05-24 11:56 ` Sebastian Herbszt
2015-05-26 13:30 ` James Smart
2015-05-26 14:31 ` James Bottomley
2015-05-27 21:32 ` Sebastian Herbszt [this message]
2015-05-29 14:08 ` James Smart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150527233200.00006352@localhost \
--to=herbszt@gmx.de \
--cc=james.smart@avagotech.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).