[Intel-gfx] [RFC 3/3] drm/i915: Fix default values of some modparams

Chris Wilson chris at chris-wilson.co.uk
Fri Sep 22 15:18:02 UTC 2017


Quoting Michal Wajdeczko (2017-09-22 15:27:26)
> Members should be initialized with values of matching types.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Jani Nikula <jani.nikula at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Perhaps typecheck(T, value) could sneak in somewhere. Add a sanitycheck
to i915_params.c?
-Chris


More information about the Intel-gfx mailing list