broadcom/vc5: Fix a typo in memcmp for sig unpack checking.
authorEric Anholt <eric@anholt.net>
Thu, 14 Dec 2017 17:41:16 +0000 (09:41 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 14 Dec 2017 22:36:24 +0000 (14:36 -0800)
commit49e2586bfc7f806038bba7864dcff0c50fed1fe9
tree1de25437914666d19caef19697e7ccc984c14dde
parent1171f1749ddf7fdff0725804868bb375f2407526
broadcom/vc5: Fix a typo in memcmp for sig unpack checking.

This shockingly ended up working out, because only the first byte of *sig
is used and (sizeof(*sig) != 0) == 1.  Fixes a compiler warning.

Link: https://bugs.freedesktop.org/show_bug.cgi?id=104183
src/broadcom/qpu/qpu_pack.c