Quick note about v5.10.199-rt97-rc1
Hello fellow maintainers!
I just pushed v5.10.199-rt97-rc1 (v5.10-rt-next) to kernel.org for testing.
The merge worked flawlessly but the build test failed with an undefined function. That was easy to track and fix, but I am not sure if the method I chose for the fix is the desired one.
In short, I performed the merge and then added the following patch to fix the build issue. Is this OK or should I have added this extra code in the merge?
Also, for the release, should I send the usual stable update message and add a note such as "the following change was required to fix a build
problem: ..."?
Best regards,
Luis
---
net: replace raw_write_seqcount_t_begin by do_raw_write_seqcount_begin
Commit a8dd21118b0fa ("seqlock: Prefix internal seqcount_t-only macros with a "do_""), among other changes, renames the function raw_write_seqcount_t_begin to do_raw_write_seqcount_begin. That commit did not cover the changes from the RT-only commit 81ce24cd24a9e ("net: Properly annotate the try-lock for the seqlock"), which are fixed here.
--- include/net/sch_generic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/sch_generic.h +1 -1
@@ -195,7 +195,7 @@ static inline bool qdisc_run_begin(struct Qdisc *qdisc)* Variant of write_seqcount_t_begin() telling lockdep that a * trylock was attempted. */ -raw_write_seqcount_t_begin (s); +do_raw_write_seqcount_begin (s);seqcount_acquire (&s->dep_map,0 ,1 , _RET_IP_);return true; }
Signature · 1 line
2.41.0
I've done that in the past, but I prefer to fix it up in the merge, that is after the merge and before the commit, fix something that I know merged incorrectly. I wish there was a way to 'git rebase -i' this and just squash your fix into the merge commit, but I haven't been able to figure out a way to do that without borking up the merge commit. Sigh...
I'd be interested to hear how the other maintainers deal with this.
Clark
Quoted 51 lines · Luis Claudio R. Goncalves
Hello fellow maintainers!
I just pushed v5.10.199-rt97-rc1 (v5.10-rt-next) to kernel.org for testing.
The merge worked flawlessly but the build test failed with an undefined function. That was easy to track and fix, but I am not sure if the method I chose for the fix is the desired one.
In short, I performed the merge and then added the following patch to fix the build issue. Is this OK or should I have added this extra code in the merge?
Also, for the release, should I send the usual stable update message and add a note such as "the following change was required to fix a build
problem: ..."?Best regards,
Luis---
net: replaceraw_write_seqcount_t_beginbydo_raw_write_seqcount_beginCommit
a8dd21118b0fa("seqlock: Prefix internal seqcount_t-only macros with a "do_""), among other changes, renames the functionraw_write_seqcount_t_begintodo_raw_write_seqcount_begin. That commit did not cover the changes from the RT-only commit81ce24cd24a9e("net: Properly annotate the try-lock for the seqlock"), which are fixed here.Fixes 81ce24cd24a9e ("net: Properly annotate the try-lock for the seqlock")Signed-off-by Luis Claudio R. Goncalves <[email protected]>--- include/net/sch_generic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/net/sch_generic.h +1
-2@@ -195,7 +195,7 @@ static inline bool qdisc_run_begin(struct Qdisc *qdisc)* Variant of write_seqcount_t_begin() telling lockdep that a * trylock was attempted. */ -raw_write_seqcount_t_begin (s); +do_raw_write_seqcount_begin (s);seqcount_acquire (&s->dep_map,0 ,1 , _RET_IP_);return true; } --2.41.0
Quoted 8 lines · Luis Claudio R. Goncalves
Hello fellow maintainers!
I just pushed v5.10.199-rt97-rc1 (v5.10-rt-next) to kernel.org for testing.
The merge worked flawlessly but the build test failed with an undefined function. That was easy to track and fix, but I am not sure if the method I chose for the fix is the desired one.
Quoted 7 lines
In short, I performed the merge and then added the following patch to fix the build issue. Is this OK or should I have added this extra code in the merge?
Also, for the release, should I send the usual stable update message and add a note such as "the following change was required to fix a build
problem: ..."?
Just looked at your v5.10.199-rt97-rc1 and considering everything it is good. You could that a build failure was fixed due to upstream changes affecting only the PREEMPT_RT part.
Quoted 2 lines
Best regards,
Luis
Sebastian