net/mlx4_core: Fix smatch error - possible access to a null variable
authorEyal Perry <eyalpe@mellanox.com>
Wed, 14 May 2014 09:15:13 +0000 (12:15 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 May 2014 19:40:33 +0000 (15:40 -0400)
commitc05a116f397242e0ed4353bb4d36671a1f86ec77
tree5af96ab175fdb0adecc4496fe46363f0732f4e76
parentee755324a3aa1459c7e184e12c170b89bd159f22
net/mlx4_core: Fix smatch error - possible access to a null variable

Fix the "error: we previously assumed 'out_param' could be null" found
by smatch semantic checker on:
drivers/net/ethernet/mellanox/mlx4/cmd.c:506 mlx4_cmd_poll()
drivers/net/ethernet/mellanox/mlx4/cmd.c:578 mlx4_cmd_wait()

Signed-off-by: Eyal Perry <eyalpe@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/cmd.c