Re: [PATCH 3/3] alarmtimer: Return early if try_module_get() fails
From: Thomas Gleixner
Date: Mon Nov 09 2026 - 14:51:28 EST
On Mon, Nov 02 2026 at 06:11, Thomas Weißschuh wrote:
> @@ -94,17 +93,16 @@ static int alarmtimer_rtc_add_device(struct device *dev)
>
> device_init_wakeup(&pdev->dev, true);
The wakeup functionality is enabled _before_ the last condition
try_module_get() is evaluated. That doesn't make any sense.