Re: [PATCH -next] drm: Use PTR_ERR_OR_ZERO in drm_fb_cma_fbdev_init()

2018-10-11 Thread Daniel Vetter
On Wed, Oct 10, 2018 at 01:02:43PM +, YueHaibing wrote: > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Signed-off-by: YueHaibing Applied, thanks for your patch. -Daniel > --- > drivers/gpu/drm/drm_fb_cma_helper.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-)

[PATCH -next] drm: Use PTR_ERR_OR_ZERO in drm_fb_cma_fbdev_init()

2018-10-11 Thread YueHaibing
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Signed-off-by: YueHaibing --- drivers/gpu/drm/drm_fb_cma_helper.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_fb_cma_helper.c b/drivers/gpu/drm/drm_fb_cma_helper.c index fb0dfc6..30741eb