[igt-dev] [PATCH i-g-t v9 2/4] lib/intel_mmio: fix unnecessary casting in R/W register functions

Chris Wilson chris at chris-wilson.co.uk
Tue Aug 27 15:28:27 UTC 2019


Quoting Daniel Mrzyglod (2019-08-27 16:25:02)
> This patch remove cast (volatile char *) becouse we allow arithmetic on
> void pointer.
> 
> Cc: Michal Winiarski <michal.winiarski at intel.com>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Cc: Antonio Argenziano <antonio.argenziano at intel.com>
> Cc: Daniele Spurio Ceraolo <daniele.ceraolospurio at intel.com>
> Cc: Katarzyna Dec <katarzyna.dec at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Petri Latvala <petri.latvala at intel.com>
> Cc: Zbigniew KempczyƄski <zbigniew.kempczynski at intel.com>
> 
> Signed-off-by: Daniel Mrzyglod <daniel.t.mrzyglod at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the igt-dev mailing list