Skip to contentSkip to conversation

qemu-keymap: Add license in generated files

PATCH Applied Philippe Mathieu-Daudé 3 participants 4 messages Nov 17, 2021 – Dec 17, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu-keymap: Add license in generated files

---
 qemu-keymap.c | 1 +
 1 file changed, 1 insertion(+)
qemu-keymap.c +1 -0
index 536e8f2385d..4095b654a60 100644
@@ -187,6 +187,7 @@ int main(int argc, char *argv[])
     }
 
     fprintf(outfile,
+            "# SPDX-License-Identifier: GPL-2.0-or-later\n"
             "#\n"
             "# generated by qemu-keymap\n"
             "#    model   : %s\n"
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Philippe Mathieu-Daudé
---
 qemu-keymap.c | 1 +
 1 file changed, 1 insertion(+)
Quoted 17 lines
qemu-keymap.c +1 -1
index 536e8f2385d..4095b654a60 100644
@@ -187,6 +187,7 @@ int main(int argc, char *argv[])
     }
 
     fprintf(outfile,
+            "# SPDX-License-Identifier: GPL-2.0-or-later\n"
             "#\n"
             "# generated by qemu-keymap\n"
             "#    model   : %s\n"
--

2.31.1

#2 lore raw
In reply to Philippe Mathieu-Daudé

Hi Laurent,

This patch is reviewed, can it go via your trivial tree?

Quoted 18 lines · Philippe Mathieu-Daudé
---
 qemu-keymap.c | 1 +
 1 file changed, 1 insertion(+)
qemu-keymap.c +1 -0
index 536e8f2385d..4095b654a60 100644
@@ -187,6 +187,7 @@ int main(int argc, char *argv[])
     }
 
     fprintf(outfile,
+            "# SPDX-License-Identifier: GPL-2.0-or-later\n"
             "#\n"
             "# generated by qemu-keymap\n"
             "#    model   : %s\n"
#3 lore raw
In reply to Philippe Mathieu-Daudé

Le 17/11/2021 à 18:45, Philippe Mathieu-Daudé a écrit :

Quoted 11 lines
---
  qemu-keymap.c | 1 +
  1 file changed, 1 insertion(+)
qemu-keymap.c +0 -0
index 536e8f2385d..4095b654a60 100644

qemu-keymap.c int main(int argc, char *argv[]) · line 193

Quoted 7 lines
qemu-keymap.c +1 -0
@@ -187,6 +187,7 @@ int main(int argc, char *argv[])
      }
 
      fprintf(outfile,
+            "# SPDX-License-Identifier: GPL-2.0-or-later\n"
              "#\n"
              "# generated by qemu-keymap\n"
              "#    model   : %s\n"

Applied to my trivial-patches branch.

Thanks,
Laurent