[Linux-kernel-mentees] [PATCH v2] Staging: rtl8192e: rtl8192e: Removed extra space before break statement
khalid.aziz at oracle.com
Wed May 1 14:16:30 UTC 2019
On 4/30/19 5:50 PM, Bjorn Helgaas wrote:
> On Tue, Apr 30, 2019 at 5:19 PM Shuah Khan <skhan at linuxfoundation.org> wrote:
>> On 4/30/19 1:59 PM, Puranjay Mohan wrote:
>>> Fixed a style issues reported by checkpatch.pl
>>> break statements had extra spaces before them, so they didn't end at
>>> tabstop. Removed the extra space before them to correct the issue.
>> You could rephrase the above to say
>> "Removed extra spaces before "break" statements to fix the following
>> warnings from checkpatch.pl"
> Here's a great post about commit logs: https://chris.beams.io/posts/git-commit/
> One hint is to use the imperative mood, as though you're giving a
> command, e.g., "Remove extra spaces ..." That matches the messages
> git generates for merges and reverts. Chris says this is only
> important in the subject line, not in the body, but I enforce it
> everywhere. I might be OCD.
I agree with Bjorn. Another way to think of it is to describe what your
patch does when one applies it to their tree, as opposed to describing
what you have done in the patch.
More information about the Linux-kernel-mentees