headers: add spdx tags to imported files with a known license

I added the header in the cases where the license text is present and it is
easy to find the appropriate SPDX header.

For "public domain" stuff: SDPX treats each "public domain" license as unique [1],
but luckily the one in siphash24.c is one of the identified variants. There are
some other cases which specify "public domain" but there doesn't seem to be a
SPDX identifier.

[1] https://wiki.spdx.org/view/Legal_Team/Decisions/Dealing_with_Public_Domain_within_SPDX_Files

gunicode.[ch] are imported from glib, which is licensed as LGPL2.1+,
see https://gitlab.gnome.org/GNOME/glib/-/blob/master/glib/gunicode.h.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-10-29 11:32:24 +01:00
parent 59a711c2cd
commit 448e7440c2
7 changed files with 13 additions and 3 deletions
+2
View File
@@ -1,3 +1,5 @@
/* SPDX-License-Identifier: MIT */
#ifndef __LINUX_NL80211_H
#define __LINUX_NL80211_H
/*