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

Chris Wilson
2019-08-27T15:28:48Z

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@intel.com>
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: Antonio Argenziano <antonio.argenziano@intel.com>
> Cc: Daniele Spurio Ceraolo <daniele.ceraolospurio@intel.com>
> Cc: Katarzyna Dec <katarzyna.dec@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Petri Latvala <petri.latvala@intel.com>
> Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
>
> Signed-off-by: Daniel Mrzyglod <daniel.t.mrzyglod@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-Chris