On Fri, Mar 24, 2023 at 10:08 AM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > And some of the modified files have no SPDX-License-Identifier > lines yet, so we are losing important licensing information: > > $ git grep -L SPDX-License-Identifier -- $(git show $(git log > --oneline v6.3-rc1..linux-next/master | grep "remove MODULE_LICENSE in > non-modules" | cut -d " " -f 1) | lsdiff --strip=1) > drivers/bus/arm-cci.c > drivers/bus/imx-weim.c > drivers/bus/simple-pm-bus.c ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is a false-positive, as I grepped against my current tree. > drivers/gpu/drm/drm_mipi_dsi.c > drivers/irqchip/irq-mvebu-pic.c > drivers/reset/reset-axs10x.c > drivers/reset/reset-hsdk.c > drivers/soc/sunxi/sunxi_sram.c > drivers/video/fbdev/asiliantfb.c > drivers/video/fbdev/gbefb.c > drivers/video/fbdev/imsttfb.c > drivers/xen/xenbus/xenbus_probe.c > lib/glob.c You want to use instead: git grep -L SPDX-License-Identifier linux-next/master -- $(git show $(git log --oneline v6.3-rc1..linux-next/master | grep "remove MODULE_LICENSE in non-modules" | cut -d " " -f 1) | lsdiff --strip=1) 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