[Intel-gfx] [PATCH 1/2] drm/i915: Generate i915_params {} using a macro

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Thu Feb 2 07:37:37 UTC 2017


On ke, 2017-02-01 at 16:50 +0000, Chris Wilson wrote:
> I want to print the struct from the error state and so would like to use
> the existing struct definition as the template ala DEV_INFO*
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

<SNIP>

> +#define p(T, member) T member

Choice of macro name not so great. Maybe MEMBER or so.

With more reasonable name;

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Needs some Acked-by's.

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list