panfrost: Fix printf format specifier.
authorVinson Lee <vlee@freedesktop.org>
Thu, 28 May 2020 23:36:54 +0000 (16:36 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sat, 30 May 2020 02:10:12 +0000 (02:10 +0000)
commit13735c4f476f997966baa8a1f4c071867d78b401
tree91b56d30c500e1d44dafd48ea3a004711c6cdc35
parent4925fb97f65f20fd52c94a080a68108c25a4095f
panfrost: Fix printf format specifier.

bifrost_sampler_descriptor.zero1 is of type uint8_t.

Fix warning reported by Coverity.

Invalid type in argument to printf format specifier (PRINTF_ARGS)
invalid_type: Argument s->zero1 to format specifier %lx was expected to
have type unsigned long but has type unsigned char.

Fixes: 6148d1be4bb5 ("panfrost: Fix size of bifrost sampler descriptor")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5248>
src/panfrost/pandecode/decode.c