soc/qman: test: Fix implementation of fd_cmp()
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Wed, 16 Nov 2016 14:40:20 +0000 (16:40 +0200)
committerScott Wood <oss@buserror.net>
Wed, 23 Nov 2016 07:23:43 +0000 (01:23 -0600)
commit57e68a5e23570ff3ab76772a974724c226fcee7d
treeb8af6b1451e65a44a817265543473e49caafaf01
parentb6e969dbaec0fe6633a756468e74151ebb1e6c49
soc/qman: test: Fix implementation of fd_cmp()

This function must only return the truth value of whether
two frame descriptors are different or not.
It does NOT have to compute some obscure difference between
fd fields and return it as an int, making sparse complain
about type conversions in the process.

Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qbman/qman_test_api.c