Re: [PATCH] drm/amd/display: fix ptr_ret.cocci warnings

2018-09-12 Thread Alex Deucher
On Tue, Sep 11, 2018 at 8:59 PM kbuild test robot wrote: > > From: kbuild test robot > > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c:771:1-3: WARNING: > PTR_ERR_OR_ZERO can be used > > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Generated by:

[PATCH] drm/amd/display: fix ptr_ret.cocci warnings

2018-09-11 Thread kbuild test robot
From: kbuild test robot drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c:771: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: e498eb713604 ("drm/amd/display: Add support

[PATCH] drm/amd/display: fix ptr_ret.cocci warnings

2018-08-28 Thread kbuild test robot
From: kbuild test robot drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:771: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: e498eb713604 ("drm/amd/display: Add