Re: drivers/gpu/drm/msm/dp/dp_debug.c:218 dp_debug_init() warn: passing zero to 'PTR_ERR'

2021-03-03 Thread abhinavk
: drivers/gpu/drm/msm/dp/dp_debug.c:218 dp_debug_init() warn: passing zero to 'PTR_ERR' Old smatch warnings: drivers/gpu/drm/msm/dp/dp_debug.c:227 dp_debug_init() warn: passing zero to 'PTR_ERR' vim +/PTR_ERR +218 drivers/gpu/drm/msm/dp/dp_debug.c d11a93690df7e9 Abhinav Kumar 2020-09-12 209 static int

drivers/gpu/drm/msm/dp/dp_debug.c:218 dp_debug_init() warn: passing zero to 'PTR_ERR'

2021-02-28 Thread Dan Carpenter
: aarch64-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Dan Carpenter New smatch warnings: drivers/gpu/drm/msm/dp/dp_debug.c:218 dp_debug_init() warn: passing zero to 'PTR_ERR' Old smatch warnings: drivers/gpu/drm