On Thu, Jan 23, 2025 at 07:13:18PM -0000, tip-bot2 for Andy Shevchenko wrote: > The following commit has been merged into the timers/urgent branch of tip: > > Commit-ID: 27af31e44949fa85550176520ef7086a0d00fd7b > Gitweb: https://git.kernel.org/tip/27af31e44949fa85550176520ef7086a0d00fd7b > Author: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > AuthorDate: Thu, 16 Jan 2025 18:07:45 +02:00 > Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > CommitterDate: Thu, 23 Jan 2025 20:06:35 +01:00 > > hrtimers: Mark is_migration_base() with __always_inline > > When is_migration_base() is unused, it prevents kernel builds > with clang, `make W=1` and CONFIG_WERROR=y: > > kernel/time/hrtimer.c:156:20: error: unused function 'is_migration_base' [-Werror,-Wunused-function] > 156 | static inline bool is_migration_base(struct hrtimer_clock_base *base) > | ^~~~~~~~~~~~~~~~~ > > Fix this by marking it with __always_inline. > > [ tglx: Use __always_inline instead of __maybe_unused and move it into the > usage sites conditional ] This works, thanks! Tested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> -- With Best Regards, Andy Shevchenko
![]() |