freedreno: fix clang error in fd_get_compute_param
authorRob Herring <robh@kernel.org>
Tue, 9 May 2017 16:56:49 +0000 (11:56 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 9 May 2017 18:20:54 +0000 (14:20 -0400)
commitdb6f38cb6a43f315f4e2aa613eae02d5a451295c
tree81b4507fda1185bbca0ab6a5b65b27f127d0149d
parentc42952ea90f42538505c213763bf4bd9776c2ff4
freedreno: fix clang error in fd_get_compute_param

With commit 10c17f23b752 ("freedreno: core compute state support"),
Android builds fail with the following error:

external/mesa3d/src/gallium/drivers/freedreno/freedreno_screen.c:610:17: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
                        sprintf(ret, ir);
                                     ^~

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_screen.c