[PATCH] coresight: perf: Fix pointer check with IS_ERR_OR_NULL()
Leo Yan
leo.yan at arm.com
Thu Sep 4 06:02:48 PDT 2025
On Thu, Sep 04, 2025 at 01:11:37PM +0100, James Clark wrote:
[...]
> > I think the bug is in TRBE. It's the only one that returns an error
> > pointer, but only for -ENOMEM which would normally be NULL for alloc
> > type functions anyway.
Thought again, you are right — it is better to fix this in TRBE, since
we don't really get any benefit from an artificial "-ENOMEM".
Will respin a new one.
Thanks,
Leo
More information about the linux-arm-kernel
mailing list