Re: [PATCH] drm/i915: drop various VLAs in i915_debugfs.c

From: Salvatore Mesoraca
Date: Wed Mar 14 2018 - 08:44:19 EST


2018-03-14 13:27 GMT+01:00 Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>:
> CHV_SS_MAX should be good enough. Make these function scoped (so #define
> at the beginning and #undef at the end of function).
>
> Do use ARRAY_SIZE() instead of repeating.

Thank you very much for your suggestions.
Unfortunately, it seems that someone else already fixed this issue, so
I'll just drop this patch.
Best regards,

Salvatore