Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ptr_ret.cocci warnings: drivers/pnp/pnpbios/core.c:584:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Signed-off-by: Vasyl Gomonovych <[email protected]> Reviewed-by: Jean Delvare <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
- Loading branch information