lkml.org 
[lkml]   [2017]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: WTF? Re: [PATCH] License cleanup: add SPDX GPL-2.0 license identifier to files with no license
From
Date
On Sat, 2017-11-25 at 20:12 +0100, Pavel Machek wrote:
> [Linus Torvalds...]
> > Having it be the first line of the file is good, it's obvious, and
> > stands out, which is the point, you want it to, it's a license :)
>
> What is good about that? License is about the least interesting thing
> about the file. Point of SPDX conversion (see the mail I was replying
> to?) was to make license information _less_ intrusive, not more. Tools
> can find SPDX anywhere in the file for the people that really care.
>
> That's how it works in U-Boot, which people are using as example of
> reasonable SPDX conversion:
>
> /*
> * Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
> * Copyright (c) 2010-2011 NVIDIA Corporation
> * NVIDIA Corporation <www.nvidia.com>
> *
> * SPDX-License-ers/ d

> .c: GPL-2.0+
> */

fwiw: I agree with Pavel.

My preferred header listing order:

// Simple description/purpose
// Copyright/Author
// License


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