17 Jan, 2019

1 commit

  • A recent commit added SPDX identifiers to the SuperH low level library code
    which originates from GCC. This code is licensed under the GPL 2.0 or later
    with the GCC runtime library exception.

    Unfortunately the authors did not bother to add the exception text to the
    LICENSES directory so spdxcheck fails with:

    arch/sh/lib/ashiftrt.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/ashlsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/ashrsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/lshrsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/movmem.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/udiv_qrnnd.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/udivsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/udivsi3_i4i-Os.S: 1:42 Invalid Exception ID: GCC-exception-2.0
    arch/sh/lib/udivsi3_i4i.S: 1:42 Invalid Exception ID: GCC-exception-2.0

    Add the exception text along with the required tags which allow automated
    checking.

    Fixes: 4494ce4fb4ff ("sh: lib: convert to SPDX identifiers")
    Signed-off-by: Thomas Gleixner
    Acked-by: Greg Kroah-Hartman
    Cc: Kuninori Morimoto
    Cc: Simon Horman
    Cc: Yoshinori Sato
    Cc: Rich Felker
    Cc: Andrew Morton
    Cc: Kate Stewart
    Signed-off-by: Jonathan Corbet

    Thomas Gleixner