[PATCH v2 2/2] drm/lima: driver for ARM Mali4xx GPUs

kbuild test robot lkp at intel.com
Mon Feb 25 18:39:27 UTC 2019


Hi Qiang,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.0-rc8 next-20190225]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Qiang-Yu/drm-export-drm_timeout_abs_to_jiffies/20190226-010350


coccinelle warnings: (new ones prefixed by >>)

>> drivers/gpu/drm/lima/lima_device.c:143:54-61: ERROR: PTR_ERR applied after initialization to constant on line 140
--
>> drivers/gpu/drm/lima/lima_object.c:14:3-8: WARNING: NULL check before some freeing functions is not needed.
   drivers/gpu/drm/lima/lima_object.c:35:2-7: WARNING: NULL check before some freeing functions is not needed.
--
>> drivers/gpu/drm/lima/lima_sched.c:35:2-20: WARNING: NULL check before some freeing functions is not needed.
   drivers/gpu/drm/lima/lima_sched.c:146:2-7: WARNING: NULL check before some freeing functions is not needed.
--
>> drivers/gpu/drm/lima/lima_sched.c:115:13-20: WARNING opportunity for kmemdup

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation


More information about the dri-devel mailing list