Re: [PATCH] kernel/entry: Fix misleading comment in irqentry_enter()

From: Thomas Gleixner
Date: Mon Jun 16 2025 - 03:08:28 EST


On Sat, Jun 14 2025 at 19:26, Khalid Ali wrote:
> Change irqentry_enter_from_user_mode() to enter_from_user_mode(),
> because enter_from_user_mode() function is the one doing the action
> comment indicates.

irqentry_enter_from_user_mode() is what is called in the user entry
branch, so the comment is not misleading at all. If someone can't follow
that function and figure out that it calls enter_from_user_mode() so be
it.

Thanks,

tglx