[PATCH 1/1] general: fix GPL-2.0-or-later SPDX headers

Xavier Drudis Ferran xdrudis at tinet.cat
Mon Oct 23 21:10:33 CEST 2023


El Sun, Oct 22, 2023 at 07:47:07PM +0200, Heinrich Schuchardt deia:
> diff --git a/drivers/sound/tegra_ahub.c b/drivers/sound/tegra_ahub.c
> index 495a29c513..28f392504d 100644
> --- a/drivers/sound/tegra_ahub.c
> +++ b/drivers/sound/tegra_ahub.c
> @@ -1,4 +1,4 @@
> -// SPDX-License-Identifier: GPL-2.0+159
> +// SPDX-License-Identifier: GPL-2.0-or-later159
>  /*
>   * Take from dc tegra_ahub.c
>   *

What does this 159 mean (or meant) ?

> diff --git a/lib/errno_str.c b/lib/errno_str.c
> index 2e5f4a887d..9bae8ecb11 100644
> --- a/lib/errno_str.c
> +++ b/lib/errno_str.c
> @@ -1,8 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (C) 2014 Samsung Electronics
>   * Przemyslaw Marczak <p.marczak at samsung.com>
> - *
> - * SDPX-License-Identifier:	GPL-2.0+
>   */
>  #include <common.h>
>  #include <errno.h>

Should be replaced, not supressed.
the tab might be replaced by one space too.



More information about the U-Boot mailing list