[PATCH 1/2] drm/gud: fix sizeof use

Noralf Trønnes noralf at tronnes.org
Tue Mar 23 09:40:06 UTC 2021



Den 22.03.2021 18.44, skrev Noralf Trønnes:
> From: kernel test robot <lkp at intel.com>
> 
> 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 at intel.com>
> Signed-off-by: kernel test robot <lkp at intel.com>
> [fix subject]
> Signed-off-by: Noralf Trønnes <noralf at tronnes.org>
> ---

Both patches are applied to drm-misc-next.

Noralf.


More information about the dri-devel mailing list