15 Mar
2024
15 Mar
'24
3:07 p.m.
On Fri, Mar 15, 2024 at 12:27:36PM +0100, Bastien Curutchet wrote:
dev_err(&pdev->dev, "no mem resource?\n");
return -ENODEV;
}return dev_err_probe(&pdev->dev, -ENODEV, "no mem resource?\n");
dev_err_probe() with a fixed error code doesn't seem to make much sense, the whole point is to handle deferral but for a straight lookup like this that can't happen.