[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250904130248.GO745921@e132581.arm.com>
Date: Thu, 4 Sep 2025 14:02:48 +0100
From: Leo Yan <leo.yan@....com>
To: James Clark <james.clark@...aro.org>
Cc: coresight@...ts.linaro.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, Tamas Zsoldos <tamas.zsoldos@....com>,
Suzuki K Poulose <suzuki.poulose@....com>,
Mike Leach <mike.leach@...aro.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>
Subject: Re: [PATCH] coresight: perf: Fix pointer check with IS_ERR_OR_NULL()
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
Powered by blists - more mailing lists