[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: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v2] scripts/checkpatch: more checks on files imported from Linux |
Date: |
Thu, 18 Jul 2024 08:49:12 +0100 |
User-agent: |
Mutt/2.2.12 (2023-09-09) |
On Thu, Jul 18, 2024 at 09:20:50AM +0200, Stefano Garzarella 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: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|