Re: [PATCH] perf: RISC-V: check cpu_hw_evt before dereference in overflow IRQ
Paul Walmsley <[email protected]>
| Newsgroups | org.infradead.lists.linux-riscv,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-perf-users |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Fri, 7 Aug 2026, Xixin Liu wrote: > The overflow IRQ handler dereferences cpu_hw_evt before the null check. > Move the check first. Defensive only; the cookie is valid on the normal > path today. > > Signed-off-by: Xixin Liu <[email protected]> Could you please add a Fixes: tag? Also, if it was written with LLM assistance, please add the appropriate Assisted-by: tag. thanks - Paul _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv