linux-next: build failure after merge of the tip tree
Subsystems (2)
Hi all,
After merging the tip tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:
io_uring/rw.c: In function 'io_hybrid_iopoll_delay':io_uring/rw.c:1179:9: error: implicit declaration of function 'hrtimer_init_sleeper_on_stack'; did you mean 'hrtimer_setup_sleeper_on_stack'? [-Wimplicit-function-declaration]
1179 | hrtimer_init_sleeper_on_stack(&timer, CLOCK_MONOTONIC, mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| hrtimer_setup_sleeper_on_stackCaused by commit
f3bef7aaa6c8 ("hrtimers: Delete hrtimer_init_sleeper_on_stack()")
interacting with commit
01ee194d1aba ("io_uring: add support for hybrid IOPOLL")
from the block tree.
I have applied the following merge fix patch.
From: Stephen Rothwell <[email protected]>
Date: Fri, 8 Nov 2024 14:06:37 +1100
Subject: [PATCH] fix up for "hrtimers: Delete hrtimer_init_sleeper_on_stack()"
interacting with commit
01ee194d1aba ("io_uring: add support for hybrid IOPOLL")
from the block tree.
--- io_uring/rw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
io_uring/rw.c +1 -1
@@ -1176,7 +1176,7 @@ static u64 io_hybrid_iopoll_delay(struct io_ring_ctx *ctx, struct io_kiocb *req) req->flags |=REQ_F_IOPOLL_STATE ; mode =HRTIMER_MODE_REL ; -hrtimer_init_sleeper_on_stack (&timer,CLOCK_MONOTONIC , mode); +hrtimer_setup_sleeper_on_stack (&timer,CLOCK_MONOTONIC , mode);hrtimer_set_expires (&timer.timer, kt);set_current_state (TASK_INTERRUPTIBLE );hrtimer_sleeper_start_expires (&timer, mode);
Signature · 5 lines
2.45.2 -- Cheers, Stephen Rothwell