bnx2x: Fix static checker warning regarding `txdata_ptr'
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Tue, 26 Aug 2014 07:24:41 +0000 (10:24 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Aug 2014 23:28:46 +0000 (16:28 -0700)
commit1fc3de94076cd0c1e53e5ba8061763b33c7b27c2
treed3959b62ea7f89e2e74ea9004dd2eaf7c2577c74
parentb0b46c7766e6803df7f76cddbbc0172092b5fa7c
bnx2x: Fix static checker warning regarding `txdata_ptr'

Incorrect checking of array instead of array contents in panic_dump
flow - results of commit e261199872a2 ("bnx2x: Safe bnx2x_panic_dump()").

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c