Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1409156

Re: [PATCH v2 2/4] Staging: comedi: Fix WARNING issue in s626.c

From Luis de Bethencourt <luisbg@osg.samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/4] Staging: comedi: Fix WARNING issue in s626.c
Date 2016-05-30 16:20 +0200
Message-ID <rEwcW-5hx-27@gated-at.bofh.it> (permalink)
References <rDEYV-4Tt-3@gated-at.bofh.it> <rDEYV-4Tt-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 28/05/16 06:26, Ravishankar Karkala Mallikarjunayya wrote:
> This is a patch to the s626.c file that fixes up a Block comments
> issues found by the checkpatch.pl tool.
> 
> i.e. Block comments use a trailing */ on a separate line
> 
> Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankarkm32@gmail.com>

We can see in the diff this is making changes in s626.c :) no need to mention
that in the commit message.

Not sure moving the opening and closing of comments (/* and */) to a new line
makes things more readable. checkpatch is a great tool but it gives suggestions,
not hard rules.
Just a comment since I've seen multiple people follow checkpatch blindly, and
it is best to use your discretion.

Maintainer of this code will probably have a preference.

Thank you for your patches Ravishankar.

Luis

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v2 2/4] Staging: comedi: Fix WARNING issue in s626.c Ravishankar Karkala Mallikarjunayya <ravishankarkm32@gmail.com> - 2016-05-28 07:30 +0200
  Re: [PATCH v2 2/4] Staging: comedi: Fix WARNING issue in s626.c Luis de Bethencourt <luisbg@osg.samsung.com> - 2016-05-30 16:20 +0200

csiph-web