diff options
| author | kbuild test robot <[email protected]> | 2019-05-20 12:23:15 +0000 |
|---|---|---|
| committer | Gerd Hoffmann <[email protected]> | 2019-05-20 13:01:56 +0000 |
| commit | 201bd433bfa36c8b1de3c71f59d04bf5b58adfd9 (patch) | |
| tree | 50e77f47ce9299120e112d225fb3bc7b32a5b601 /drivers/gpu/drm/lima/lima_sched.c | |
| parent | drm: Remove users of drm_format_info_plane_cpp (diff) | |
| download | kernel-201bd433bfa36c8b1de3c71f59d04bf5b58adfd9.tar.gz kernel-201bd433bfa36c8b1de3c71f59d04bf5b58adfd9.zip | |
drm/bochs: fix ptr_ret.cocci warnings
drivers/gpu/drm/bochs/bochs_mm.c:19: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
Fixes: b3a25b9af80d ("drm/bochs: Convert bochs driver to VRAM MM")
CC: Thomas Zimmermann <[email protected]>
Signed-off-by: kbuild test robot <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/20190520122314.GA155389@lkp-kbuild22
Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions
