diff options
| author | Rob Herring (Arm) <robh@kernel.org> | 2026-08-27 15:33:00 -0500 |
|---|---|---|
| committer | Rob Herring (Arm) <robh@kernel.org> | 2026-09-03 12:06:45 -0500 |
| commit | b3c8d4672f7a8735e2884cefcd89286268e88b2e (patch) | |
| tree | 4db9b19e5990ff62b62f389448c72b7dfffc90cd /scripts/Makefile.thinlto | |
| parent | d72aa5cf045a69d5fd433cde5dd4e113d9558fd1 (diff) | |
| download | linux-stable-b3c8d4672f7a8735e2884cefcd89286268e88b2e.tar.gz linux-stable-b3c8d4672f7a8735e2884cefcd89286268e88b2e.zip | |
accel: ethosu: Fix ethosu_job_open() return value
A WARN_ON() returns a 0 or 1, not the original negative errno. Just drop
the WARN_ON() as the FD open will pass the return code to userspace and
there's only one possible source of the error (drm_sched_entity_init()).
Fixes: 5a5e9c0228e6 ("accel: Add Arm Ethos-U NPU driver")
Cc: stable@vger.kernel.org
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260827-ethosu-fixes-v1-1-346f9ea8791c@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
