[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] scripts/checkpatch: more checks on files imported from Li
From: |
Cornelia Huck |
Subject: |
Re: [PATCH v2] scripts/checkpatch: more checks on files imported from Linux |
Date: |
Fri, 19 Jul 2024 14:05:35 +0200 |
User-agent: |
Notmuch/0.38.3 (https://notmuchmail.org) |
On Thu, Jul 18 2024, Stefano Garzarella <sgarzare@redhat.com> wrote:
> If a file imported from Linux is touched, emit a warning and suggest
> using scripts/update-linux-headers.sh.
>
> Also check that updating imported files from Linux are not mixed with
> other changes, in which case emit an error.
>
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
> ---
> v2:
> - added an error when mixing imported files with other changes [Daniel,
> Cornelia]
>
> v1: 20240717093752.50595-1-sgarzare@redhat.com/">https://patchew.org/QEMU/20240717093752.50595-1-sgarzare@redhat.com/
> ---
> scripts/checkpatch.pl | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
Reviewed-by: Cornelia Huck <cohuck@redhat.com>