* checkpatch.pl warning on "added, moved or deleted" messed up
@ 2026-01-08 12:57 Markus Armbruster
2026-01-08 14:42 ` Daniel P. Berrangé
0 siblings, 1 reply; 3+ messages in thread
From: Markus Armbruster @ 2026-01-08 12:57 UTC (permalink / raw)
To: Daniel P. Berrangé; +Cc: qemu-devel
I ran checkpatch on my
[PATCH 0/2] migration: Drop deprecated QMP stuff
Message-ID: <20260108125512.2234147-1-armbru@redhat.com>
and got
$ scripts/checkpatch.pl --terse *patch
0001-migration-Drop-deprecated-QMP-command-query-migratio.patch:290: WARNING: added, moved or deleted file(s):
total: 0 errors, 1 warnings, 129 lines checked
The culprit seems to be commit 1d745e6d963 (scripts/checkpatch: use new
hook for MAINTAINERS update check). If I use the version immediately
preceding it, I get:
0001-migration-Drop-deprecated-QMP-command-query-migratio.patch:105: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
total: 0 errors, 1 warnings, 129 lines checked
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: checkpatch.pl warning on "added, moved or deleted" messed up
2026-01-08 12:57 checkpatch.pl warning on "added, moved or deleted" messed up Markus Armbruster
@ 2026-01-08 14:42 ` Daniel P. Berrangé
2026-01-09 7:13 ` Markus Armbruster
0 siblings, 1 reply; 3+ messages in thread
From: Daniel P. Berrangé @ 2026-01-08 14:42 UTC (permalink / raw)
To: Markus Armbruster; +Cc: qemu-devel
On Thu, Jan 08, 2026 at 01:57:56PM +0100, Markus Armbruster wrote:
> I ran checkpatch on my
>
> [PATCH 0/2] migration: Drop deprecated QMP stuff
> Message-ID: <20260108125512.2234147-1-armbru@redhat.com>
>
> and got
>
> $ scripts/checkpatch.pl --terse *patch
> 0001-migration-Drop-deprecated-QMP-command-query-migratio.patch:290: WARNING: added, moved or deleted file(s):
> total: 0 errors, 1 warnings, 129 lines checked
>
> The culprit seems to be commit 1d745e6d963 (scripts/checkpatch: use new
> hook for MAINTAINERS update check). If I use the version immediately
> preceding it, I get:
>
> 0001-migration-Drop-deprecated-QMP-command-query-migratio.patch:105: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
> total: 0 errors, 1 warnings, 129 lines checked
Hmm, the problem is the --terse command is rather crude and simply
throws away everything except the first line of text. My commit made
the verbose output multi-line to improve readability
$ ./scripts/checkpatch.pl ~/dep
WARNING: added, moved or deleted file(s):
migration/threadinfo.h
migration/threadinfo.c
Does MAINTAINERS need updating?
total: 0 errors, 1 warnings, 193 lines checked
/var/home/berrange/dep has style problems, please review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
but this inadvertantly made terse output worse :-(
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 :|
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: checkpatch.pl warning on "added, moved or deleted" messed up
2026-01-08 14:42 ` Daniel P. Berrangé
@ 2026-01-09 7:13 ` Markus Armbruster
0 siblings, 0 replies; 3+ messages in thread
From: Markus Armbruster @ 2026-01-09 7:13 UTC (permalink / raw)
To: Daniel P. Berrangé; +Cc: qemu-devel
Daniel P. Berrangé <berrange@redhat.com> writes:
> On Thu, Jan 08, 2026 at 01:57:56PM +0100, Markus Armbruster wrote:
>> I ran checkpatch on my
>>
>> [PATCH 0/2] migration: Drop deprecated QMP stuff
>> Message-ID: <20260108125512.2234147-1-armbru@redhat.com>
>>
>> and got
>>
>> $ scripts/checkpatch.pl --terse *patch
>> 0001-migration-Drop-deprecated-QMP-command-query-migratio.patch:290: WARNING: added, moved or deleted file(s):
>> total: 0 errors, 1 warnings, 129 lines checked
>>
>> The culprit seems to be commit 1d745e6d963 (scripts/checkpatch: use new
>> hook for MAINTAINERS update check). If I use the version immediately
>> preceding it, I get:
>>
>> 0001-migration-Drop-deprecated-QMP-command-query-migratio.patch:105: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
>> total: 0 errors, 1 warnings, 129 lines checked
>
> Hmm, the problem is the --terse command is rather crude and simply
> throws away everything except the first line of text. My commit made
> the verbose output multi-line to improve readability
>
> $ ./scripts/checkpatch.pl ~/dep
> WARNING: added, moved or deleted file(s):
>
> migration/threadinfo.h
> migration/threadinfo.c
>
> Does MAINTAINERS need updating?
>
> total: 0 errors, 1 warnings, 193 lines checked
>
> /var/home/berrange/dep has style problems, please review. If any of these errors
> are false positives report them to the maintainer, see
> CHECKPATCH in MAINTAINERS.
>
>
> but this inadvertantly made terse output worse :-(
Aha!
I posted a patch, Message-ID: <20260109071217.2326194-1-armbru@redhat.com>
Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-09 7:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-08 12:57 checkpatch.pl warning on "added, moved or deleted" messed up Markus Armbruster
2026-01-08 14:42 ` Daniel P. Berrangé
2026-01-09 7:13 ` Markus Armbruster
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.