Re: [PATCH 2/4] cifs: standardize SPDX header comment

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

 



On 07/22, Steve French wrote:
Interesting question whether one format is better than the other but
"// SPDX ..." is used more frequently.  In the fs directory

// SPDX ...   is used 1255 times
/* SPDX ... is used 480 times
and other are used 164 times

Is there any style recommendation on this in kernel Documentation
directory etc.?

Now that I looked it up, the recommendation [0] is to use "//" for .c
and "/* ... */" for .h, but I followed what I observed from experience.

[0] https://www.kernel.org/doc/html/v5.16/process/license-rules.html

Should I make a v2 following the official recommendation?




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux