Re: [PATCH] staging: octeon: Add the license identifier

From: Greg KH
Date: Thu Jul 23 2020 - 04:30:36 EST


On Wed, Jul 22, 2020 at 08:39:53PM +0500, Muhammad Usama Anjum wrote:
> This patch fixes the checkpatch.pl warning:
> WARNING: Missing or malformed SPDX-License-Identifier tag
>
> Add a the SPDX-License-Identifier tag on line 1
>
> Signed-off-by: Muhammad Usama Anjum <musamaanjum@xxxxxxxxx>
> ---
> drivers/staging/octeon/octeon-stubs.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h
> index d06743504f2b..889b7c80666d 100644
> --- a/drivers/staging/octeon/octeon-stubs.h
> +++ b/drivers/staging/octeon/octeon-stubs.h
> @@ -1,3 +1,5 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +

How do you know this is the correct license for this file?

Please include how you came to this decision in the changelog text when
you resend it.

thanks,

greg k-h