Re: [PATCH 4.19.y-cip 2/2] drm: atomic helper: fix W=1 warnings

Pavel Machek


commit bf5d837a0a4ced7cc223befc9e76d4ad30697d27 upstream.

Few for_each macro set variables that are never used later which led
to generate unused-but-set-variable warnings.
Add (void)(foo) inside the macros to remove these warnings

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@...>
Reviewed-by: Daniel Vetter <daniel.vetter@...>
Signed-off-by: Biju Das <biju.das.jz@...>
Thanks for the fixes. Applied and pushed out.
This patch doesn't seem to have been pushed yet.
Could you push me?
Sorry for that, should be fixed now.

Best regards,
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Join to automatically receive all group messages.