Re: [PATCH] drivers/i2c: Include SPDX-license-identifier

From: Peter Rosin
Date: Thu Jun 21 2018 - 05:46:18 EST


On 2018-06-21 11:40, Mawanda Henry wrote:
> including the SPDX license identifier header makes it easy for
> developers and machines to know the lecense that is governing the file

If you do changes like this, you should also remove the actual
license text (it follows later in the comment in this case). And
more importantly, you should make *sure* that you use the correct
SPDX tag, which you don't in this case.

So, you need to fix those issues.

Cheers,
Peter

> Signed-off-by: Mawanda Henry <mawandahenrynaco@xxxxxxxxx>
> ---
> drivers/i2c/i2c-core-slave.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/i2c/i2c-core-slave.c b/drivers/i2c/i2c-core-slave.c
> index 4a78c65..883ca836 100644
> --- a/drivers/i2c/i2c-core-slave.c
> +++ b/drivers/i2c/i2c-core-slave.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
> /*
> * Linux I2C core slave support code
> *
>