[PATCH RFC] clocksource: dbx500-prcmu: check timer register mapping
Linus Walleij
linusw at kernel.org
Wed Sep 16 10:13:54 PDT 2026
On Fri, Sep 11, 2026 at 8:09 AM Slavin Liu <bolin.liu at seu.edu.cn> wrote:
> Return -ENOMEM if of_iomap() fails, before reading or configuring
> the timer register block.
>
> Detected by static analysis and reviewed with AI-assisted source auditing.
>
> Fixes: 9d2aa8c7961a ("ARM/clocksource: use automatic DT probing for ux500 PRCMU")
> Assisted-by: LLM
> Signed-off-by: Slavin Liu <bolin.liu at seu.edu.cn>
Reviewed-by: Linus Walleij <linusw at kernel.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list