kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* checkpatch.pl comment style warnings
@ 2014-04-13 20:49 Greg Donald
  2014-04-13 21:46 ` Greg Freemyer
  2014-04-14 10:52 ` Martin Kepplinger
  0 siblings, 2 replies; 5+ messages in thread
From: Greg Donald @ 2014-04-13 20:49 UTC (permalink / raw)
  To: kernelnewbies

When I run checkpatch.pl -f, it complains about comment blocks like

/*
 * foo
 * bar
 */

with "networking block comments don't use an empty /* line, use /* Comment..."

But I found this: http://fr.it-usenet.org/thread/18772/41342/, which
makes me think that particular checkpatch.pl warning should possibly
be ignored for code not in net or drivers/net.

1) Are there different preferred commenting styles for networking code
versus everything else?

2) Assuming the comment code above does need fixing, would an example
fix be as simple as this?

/* foo
 * bar
 */

3) What about the very similar comment blocks checkpatch.pl doesn't
currently complain about, do these need fixing too?

/**
 * foo
 * bar
 */


Thanks.

-- 
Greg Donald

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-14 10:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-13 20:49 checkpatch.pl comment style warnings Greg Donald
2014-04-13 21:46 ` Greg Freemyer
2014-04-14  0:04   ` Greg Donald
2014-04-14  3:14     ` Greg Freemyer
2014-04-14 10:52 ` Martin Kepplinger

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).