[PATCH] qemu-keymap: Add license in generated files

Philippe Mathieu-Daudé posted 1 patch 2 years, 5 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211117174533.1900570-1-philmd@redhat.com
qemu-keymap.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] qemu-keymap: Add license in generated files
Posted by Philippe Mathieu-Daudé 2 years, 5 months ago
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 qemu-keymap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qemu-keymap.c b/qemu-keymap.c
index 536e8f2385d..4095b654a60 100644
--- a/qemu-keymap.c
+++ b/qemu-keymap.c
@@ -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

Re: [PATCH] qemu-keymap: Add license in generated files
Posted by Warner Losh 2 years, 5 months ago
On Wed, Nov 17, 2021 at 10:46 AM Philippe Mathieu-Daudé <philmd@redhat.com>
wrote:

> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
>  qemu-keymap.c | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Warner Losh <imp@bsdimp.com>


> diff --git a/qemu-keymap.c b/qemu-keymap.c
> index 536e8f2385d..4095b654a60 100644
> --- a/qemu-keymap.c
> +++ b/qemu-keymap.c
> @@ -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
>
>
>
Re: [PATCH] qemu-keymap: Add license in generated files
Posted by Laurent Vivier 2 years, 4 months ago
Le 17/11/2021 à 18:45, Philippe Mathieu-Daudé a écrit :
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
>   qemu-keymap.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/qemu-keymap.c b/qemu-keymap.c
> index 536e8f2385d..4095b654a60 100644
> --- a/qemu-keymap.c
> +++ b/qemu-keymap.c
> @@ -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

Re: [PATCH] qemu-keymap: Add license in generated files
Posted by Philippe Mathieu-Daudé 2 years, 4 months ago
Hi Laurent,

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

On 11/17/21 18:45, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
>  qemu-keymap.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/qemu-keymap.c b/qemu-keymap.c
> index 536e8f2385d..4095b654a60 100644
> --- a/qemu-keymap.c
> +++ b/qemu-keymap.c
> @@ -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"
>