From: "Alex Bennée" <alex.bennee@linaro.org>
To: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Cc: qemu-devel@nongnu.org, qemu-s390x@nongnu.org,
"Richard Henderson" <richard.henderson@linaro.org>,
"Matthew Rosato" <mjrosato@linux.ibm.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Christian Borntraeger" <borntraeger@linux.ibm.com>,
"Eric Farman" <farman@linux.ibm.com>,
"Chao Liu" <chao.liu@processmission.com>,
"Tyrone Ting" <kfting@nuvoton.com>,
"Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>,
"Hao Wu" <wuhaotsh@google.com>,
"Halil Pasic" <pasic@linux.ibm.com>,
qemu-arm@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>
Subject: Re: [PATCH 1/8] scripts/checkpatch: validate fixes against origin/master
Date: Thu, 29 Oct 2026 19:22:51 +0000 [thread overview]
Message-ID: <87wlr08g6s.fsf@draig.linaro.org> (raw)
In-Reply-To: <e19ba1b4-60c6-47b4-b0b7-71e1be096a92@oss.qualcomm.com> (Pierrick Bouvier's message of "Thu, 29 Oct 2026 09:44:39 -0800")
Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> writes:
> On 10/29/2026 9:26 AM, Alex Bennée wrote:
>> Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> writes:
>>
>>> On 10/29/2026 8:13 AM, Alex Bennée wrote:
>>>> The current check for a referenced fix commit relies on the developer
>>>> keeping their master branch up to date which is not always grunted. If
>>>> you create your branches directly from origin/master this will keep
>>>> failing.
>>>>
>>>> Given that origin/master should always be up to date (module the
>>>> developer eschewing convention) lets use that in the test instead.
>>>>
>>>> checkpatch complains about the line lengths but this seems to be
>>>> standard for the perl script so I didn't try and fix it.
>>>>
>>>
>>> Or... you can use something else as origin, with origin/master not being
>>> updated, and master as a tracking branch to upstream/master, and in this
>>> case, this patch doesn't work.
>>>
>>> Using master instead of origin/master has the advantage to not hardcode
>>> what your remotes should be.
>>
>> origin is the default when you clone a repo. We could get really complex
>> and query the tracking remote for the current branch. But if your deeply
>> forked then that obviates the test.
>>
>
> I am aware that origin is the default remote.
> In my case, I always use "upstream" to reference the original project,
> and "origin" for my personal fork. As a result, origin/master does not
> always track upstream/master.
So master in that case won't be correct either?
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2026-10-29 19:23 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 16:13 [PATCH 0/8] fixes for 11.2 softfreeze (checkpatch, gdbstub, wfxt, bcm fb) Alex Bennée
2026-10-29 16:13 ` [PATCH 1/8] scripts/checkpatch: validate fixes against origin/master Alex Bennée
2026-10-29 17:12 ` Pierrick Bouvier
2026-10-29 17:26 ` Alex Bennée
2026-10-29 17:44 ` Pierrick Bouvier
2026-10-29 17:49 ` Pierrick Bouvier
2026-10-29 19:22 ` Alex Bennée [this message]
2026-10-29 19:32 ` Pierrick Bouvier
2026-10-29 16:13 ` [PATCH 2/8] tests/functional: fix call to common_tuxrun_gdb Alex Bennée
2026-10-29 16:13 ` [PATCH 3/8] target/arm: hold bql when SEV sets the event_register Alex Bennée
2026-10-29 16:16 ` Richard Henderson
2026-10-29 16:13 ` [PATCH 4/8] target/arm: don't pass env to the sev helper Alex Bennée
2026-10-29 16:17 ` Richard Henderson
2026-10-29 16:13 ` [PATCH 5/8] target/arm: simplify wfxt_timer_cb to only trigger cpu_interrupt Alex Bennée
2026-10-29 16:19 ` Richard Henderson
2026-10-29 16:30 ` Peter Maydell
2026-10-29 16:13 ` [PATCH 6/8] tests/tcg: import arm wfe test cases for #4670 Alex Bennée
2026-10-29 16:13 ` [PATCH 7/8] tests/functional: remove @skipSlowTest from quanta_gsj test Alex Bennée
2026-10-29 16:38 ` Peter Maydell
2026-10-29 17:05 ` Thomas Huth
2026-10-29 17:14 ` Pierrick Bouvier
2026-10-29 17:42 ` Daniel P. Berrangé
2026-10-29 17:02 ` Thomas Huth
2026-10-29 16:13 ` [PATCH 8/8] target/arm: fix bcm2835 migration issue Alex Bennée
2026-10-29 16:24 ` Peter Maydell
2026-10-29 16:26 ` [PATCH 0/8] fixes for 11.2 softfreeze (checkpatch, gdbstub, wfxt, bcm fb) Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wlr08g6s.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=borntraeger@linux.ibm.com \
--cc=chao.liu@processmission.com \
--cc=farman@linux.ibm.com \
--cc=kfting@nuvoton.com \
--cc=mjrosato@linux.ibm.com \
--cc=pasic@linux.ibm.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@oss.qualcomm.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=wuhaotsh@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.