Search Linux Wireless

Re: [PATCH 01/13] rtlwifi: Replace old-style license information

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

 



Larry Finger <Larry.Finger@xxxxxxxxxxxx> writes:

> The traditional license information is replaced by the SPDX form. There
> are no code changes.
>
> Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>

[...]

> --- a/drivers/net/wireless/realtek/rtlwifi/base.c
> +++ b/drivers/net/wireless/realtek/rtlwifi/base.c
> @@ -1,27 +1,5 @@
> -/******************************************************************************
> - *
> - * Copyright(c) 2009-2012  Realtek Corporation.
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of version 2 of the GNU General Public License as
> - * published by the Free Software Foundation.

So the way I see this is GPLv2 only (so GPLv3 is not included).

> +/* SPDX-License-Identifier: GPL-2.0+ */

But this is GPLv2 or later (including GPLv3 for example).
LICENSES/preferred/GPL-2.0 contains more info about the tags.

Also for SPDX tags in .c files you should use C++ comment style '//',
BUT in .h files normal C comment style '/* */'. Confusing, I know :/

https://www.kernel.org/doc/html/latest/process/license-rules.html#license-identifier-syntax

-- 
Kalle Valo



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux