[igt-dev] [PATCH i-g-t] runner: Fix constness warning
Chris Wilson
chris at chris-wilson.co.uk
Tue Jan 12 12:39:32 UTC 2021
Quoting Petri Latvala (2021-01-12 06:51:25)
> Introduced in commit 532d6e84ab7f ("lib: Process kernel taints"):
>
> ../runner/executor.c: In function ‘handle_taint’:
> ../runner/executor.c:324:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
> while ((explain = igt_explain_taints(&bad))) {
> ^
>
> Signed-off-by: Petri Latvala <petri.latvala at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
More information about the igt-dev
mailing list