Re: [PATCH] checkpatch: Fix spdxcheck.py

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

 



Hi Vincenzo,

On Wed, May 22, 2019 at 3:28 PM Vincenzo Frascino
<vincenzo.frascino@xxxxxxx> wrote:
> The LICENSE directory has recently changed structure and this makes
> spdxcheck fails as per below:
>
> FAIL: "Blob or Tree named 'other' not found"
> Traceback (most recent call last):
>   File "scripts/spdxcheck.py", line 240, in <module>
> spdx = read_spdxdata(repo)
>   File "scripts/spdxcheck.py", line 41, in read_spdxdata
> for el in lictree[d].traverse():
> [...]
> KeyError: "Blob or Tree named 'other' not found"
>
> Fix the script to restore the correctness on checkpatch License
> checking.
>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Jeremy Cline <jcline@xxxxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@xxxxxxx>

Thanks for your patch!

Looks the issue is already fixed in linux-next:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/scripts/spdxcheck.py

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux