aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irq_poll.c
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2015-12-30 16:14:18 +0200
committerDoug Ledford <dledford@redhat.com>2016-01-19 15:26:54 -0500
commit9506902b7be2d8ccc235c14ccaec7f07b2c7d520 (patch)
tree196b87a189b9d2bf91a9ba52bbf5f6b059559e11 /lib/irq_poll.c
parentIB/core: Eliminate sparse false context imbalance warning (diff)
downloadlinux-dev-9506902b7be2d8ccc235c14ccaec7f07b2c7d520.tar.xz
linux-dev-9506902b7be2d8ccc235c14ccaec7f07b2c7d520.zip
IB/core: Fix dereference before check
Sparse complains about dereference before check. Fixing this by moving the check before the dereference. Fixes: 200298326b27 ('IB/core: Validate route when we init ah') Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'lib/irq_poll.c')
0 files changed, 0 insertions, 0 deletions