checkpatch.pl comment style warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux