On Tue, 17 Nov 2026 at 13:35, Alok Tiwari <[email protected]> wrote: > > devm_drm_dev_alloc() returns an ERR_PTR() on failure. Use PTR_ERR() rather > than always returning -ENOMEM so the probe path propagates the real error > code such as -ENOMEM, -EINVAL, and -ENODEV. > > Fixes: 5a5e9c0228e6 ("accel: Add Arm Ethos-U NPU driver") > Signed-off-by: Alok Tiwari <[email protected]>
Reviewed-by: Daniel Drake <[email protected]>
