diff options
author | Douglas Anderson <dianders@chromium.org> | 2022-01-05 16:13:50 -0800 |
---|---|---|
committer | Douglas Anderson <dianders@chromium.org> | 2022-01-05 16:13:50 -0800 |
commit | f757b390faab6c38fe0887dc2123dcb615e21953 (patch) | |
tree | bd3a7c81a775c362693bccaf00e2cef9e07e2eea /kernel/time/timer.c | |
parent | 443c053f51f9173042a2b45d0db7271cebe78198 (diff) | |
parent | 4c82fd0506b4cc196a375d1200361fb0c5439acd (diff) |
Merge remote-tracking branch 'drm-intel/topic/core-for-CI' into drm-tip
Diffstat (limited to 'kernel/time/timer.c')
-rw-r--r-- | kernel/time/timer.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/kernel/time/timer.c b/kernel/time/timer.c index 85f1021ad459..600b3ddbdf08 100644 --- a/kernel/time/timer.c +++ b/kernel/time/timer.c @@ -617,7 +617,14 @@ static const struct debug_obj_descr timer_debug_descr; static void *timer_debug_hint(void *addr) { - return ((struct timer_list *) addr)->function; + struct timer_list *timer = addr; + + if (timer->function == delayed_work_timer_fn) { + struct delayed_work *work = from_timer(work, timer, timer); + return work->work.func; + } + + return timer->function; } static bool timer_is_static_object(void *addr) |