From: Gal Pressman <galpress@amazon.com>
To: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Doug Ledford <dledford@redhat.com>,
Dan Carpenter <dan.carpenter@oracle.com>,
Bernard Metzler <bmt@zurich.ibm.com>,
<linux-rdma@vger.kernel.org>
Subject: Re: [PATCH] siw: Fix potential NULL pointer in siw_connect().
Date: Thu, 22 Aug 2019 09:35:34 +0300 [thread overview]
Message-ID: <d13ab5d2-bdfa-2c42-7d92-807b059da7a2@amazon.com> (raw)
In-Reply-To: <20190821141225.GB8653@ziepe.ca>
On 21/08/2019 17:12, Jason Gunthorpe wrote:
> On Wed, Aug 21, 2019 at 09:39:50AM -0400, Doug Ledford wrote:
>> On Wed, 2019-08-21 at 15:56 +0300, Dan Carpenter wrote:
>>> On Tue, Aug 20, 2019 at 12:05:33PM -0400, Doug Ledford wrote:
>>>> Please take a look (I pushed it out to my wip/dl-for-rc branch) so
>>>> you
>>>> can see what I mean about how to make both a simple subject line and
>>>> a
>>>> decent commit message. Also, no final punctuation on the subject
>>>> line,
>>>> and try to keep the subject length <= 50 chars total. If you have
>>>> to go
>>>> over to have a decent subject, then so be it, but we strive for that
>>>> 50
>>>> char limit to make a subject stay on one line when displayed using
>>>> git
>>>> log --oneline.
>>>
>>> 50 is really small.
>>
>> 50 is the vim syntax highlighting suggested limit. You can go over,
>> which is why I indicated it was a soft limit, but there you are. It
>> leaves room for the displayed hash length to grow as well.
>
> I use 75 for all text in the commit message, as per
> Documentation/process/submitting-patches.rst
>
> People using 'git log --oneline' should have terminals wider than 80
> :)
>
> The bigger question is if the first character after the subject tag
> should be uppper case or lower case <hum>
I was thinking about that lately as well, it seems like git patches (which are
pretty similar to the kernel) use lower-case letter [1].
RDMA subsystem mostly sticks to capital letter though:
$ git log --oneline -- drivers/infiniband/ | egrep ": [a-z]" | wc -l
1364
$ git log --oneline -- drivers/infiniband/ | egrep ": [A-Z]" | wc -l
8069
Things look different when checking the entire tree:
$ git log --oneline | egrep ": [a-z]" | wc -l
514596
$ git log --oneline | egrep ": [A-Z]" | wc -l
356939
[1] https://github.com/git/git/blob/master/Documentation/SubmittingPatches#L118
next prev parent reply other threads:[~2019-08-22 6:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-19 14:02 [PATCH] siw: Fix potential NULL pointer in siw_connect() Bernard Metzler
2019-08-20 16:05 ` Doug Ledford
2019-08-21 12:56 ` Dan Carpenter
2019-08-21 13:39 ` Doug Ledford
2019-08-21 14:12 ` Jason Gunthorpe
2019-08-21 16:30 ` Leon Romanovsky
2019-08-22 6:35 ` Gal Pressman [this message]
2019-08-22 7:10 ` Dan Carpenter
2019-08-22 12:02 ` Jason Gunthorpe
2019-08-22 15:02 ` Doug Ledford
2019-08-20 16:11 ` Bernard Metzler
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=d13ab5d2-bdfa-2c42-7d92-807b059da7a2@amazon.com \
--to=galpress@amazon.com \
--cc=bmt@zurich.ibm.com \
--cc=dan.carpenter@oracle.com \
--cc=dledford@redhat.com \
--cc=jgg@ziepe.ca \
--cc=linux-rdma@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).