pan/decode: Check for correct unknown field
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 27 Apr 2020 14:09:57 +0000 (16:09 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 30 Apr 2020 14:27:42 +0000 (16:27 +0200)
commit03963febeffadefc4f47adaf0bbd3618d5692b25
tree9d8226350ea98b2658297a79615c80130126b492
parentbc11deb86d8bc037d842a04f8782461a5472ecf1
pan/decode: Check for correct unknown field

As reported by Coverity:

>>>     CID 1462606:  Incorrect expression  (COPY_PASTE_ERROR)
>>>     "unk1" in "s->unk1" looks like a copy-paste error.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4724>
src/panfrost/pandecode/decode.c