panfrost: Fix non-debug builds
authorIcecream95 <ixn@keemail.me>
Sat, 1 Feb 2020 00:50:35 +0000 (13:50 +1300)
committerMarge Bot <eric+marge@anholt.net>
Sun, 2 Feb 2020 15:33:17 +0000 (15:33 +0000)
commitb74212e70153f3a199a60a95d003208144f5fac9
tree0a0cbe75db4bf461ef6ddce118e311a28c2441c7
parentd7fe9af6202413aa4e6f0f53d89577ed8ea80027
panfrost: Fix non-debug builds

For non-debug builds, where assertions are compiled out, GCC complains
about the end of the non-void function panfrost_translate_channel_width
being reached.

Fixes: 226c1efe9a8 ("panfrost: Add more info to some assertions")
Reported-by: Piotr Oniszczuk
Suggested-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3665>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3665>
src/gallium/drivers/panfrost/pan_format.c