Re: [PATCH] perf trace: Fix IS_ERR() vs NULL check bug

From: Namhyung Kim

Date: Fri Feb 27 2026 - 16:32:59 EST


On Thu, 26 Feb 2026 20:22:08 +0800, wangguangju@xxxxxxxx wrote:
> The alloc_syscall_stats() function always returns an error pointer
> (ERR_PTR) on failure.
>
> So replace NULL check with IS_ERR() check after calling
> delete_syscall_stats() function.
>
>
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung