net/bnxt: fix assignment instead of comparison
authorMike Baucom <michael.baucom@broadcom.com>
Thu, 12 Nov 2020 15:29:45 +0000 (07:29 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Nov 2020 18:43:26 +0000 (19:43 +0100)
commitfcf681890a31a7396df2b85b2888074c5b939535
tree95b8739a6ab43eaee5f164e82d5d3f42dcc09563
parentf8b41a8e377153e11ebf8e67349708506e17a88f
net/bnxt: fix assignment instead of comparison

Use comparison operator instead of incorrectly using the assignment
operator.

Coverity issue: 363566, 36357
Fixes: 42c40f8902f7 ("net/bnxt: consolidate template table processing")

Signed-off-by: Mike Baucom <michael.baucom@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/tf_ulp/ulp_mapper.c