drm/gud: fix sizeof use
authorkernel test robot <lkp@intel.com>
Mon, 22 Mar 2021 17:44:33 +0000 (18:44 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 23 Mar 2021 09:31:44 +0000 (10:31 +0100)
commitb91fbdc1df15befb3e51b9795b15d71fa4298602
tree01215d978980d0abd3439638ea967a360890e49d
parent458025f6c16188a9f28219578448fac24b2cd487
drm/gud: fix sizeof use

drivers/gpu/drm/gud/gud_connector.c:710:37-43: ERROR: application of sizeof to pointer

 sizeof when applied to a pointer typed expression gives the size of
 the pointer

Generated by: scripts/coccinelle/misc/noderef.cocci

Fixes: 40e1a70b4aed ("drm: Add GUD USB Display driver")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
[fix subject]
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210322174434.58849-1-noralf@tronnes.org
drivers/gpu/drm/gud/gud_connector.c