lkml.org 
[lkml]   [2017]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch V4 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses
On Fri, 17 Nov 2017, Christoph Hellwig wrote:
> On Fri, Nov 17, 2017 at 07:11:41PM +0100, Thomas Gleixner wrote:
> > Introcude a MODULE_LICENSE_SPDX macro which flags the module info storage
> > as 'SPDXIFY' and let the postprocessor do:
>
> Shouldn;t this be a FILE_LICENSE_SPDX? I'd also much prefer that over
> the nasty C99 comments to start with. And while I'm a bit behind on
> email I still haven't managed to find a good rationale for those to
> start with.
>
> So it would be good to figure this out before people start spamming
> the lists with all kinds of mass conversions and checkpatch fixes
> for licensing..

I tried solving this with a macro in the first place and ran into issues:

- Does not work in headers, especially not in UAPI ones

- Breaks in assembly, boot and other special source files. There was no
easy solution to that and the result would have been to have macros in
some files and not in others.

So the fallback was to use a comment and Linus decided the '//' style.

Thanks,

tglx

\
 
 \ /
  Last update: 2017-11-22 12:12    [W:0.086 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site