summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/mcg.c
diff options
context:
space:
mode:
authorAmrani, Ram <Ram.Amrani@cavium.com>2016-11-23 09:03:04 +0100
committerDoug Ledford <dledford@redhat.com>2016-12-14 20:16:49 +0100
commit22b1ae6169e3cb9e33ba549a0c07a0cc469143d7 (patch)
tree5f1a43edee54b46af8629bba75f187b700de016a /drivers/infiniband/hw/mlx4/mcg.c
parentqedr: remove pointless NULL check in qedr_post_send() (diff)
downloadlinux-22b1ae6169e3cb9e33ba549a0c07a0cc469143d7.tar.xz
linux-22b1ae6169e3cb9e33ba549a0c07a0cc469143d7.zip
qede: fix general protection fault may occur on probe
The recent introduction of qedr driver support in qede causes a GPF when probing the driver in a server without a RoCE enabled QLogic NIC. This fix avoids using an uninitialized pointer in such a case. Caught by the kernel test robot. Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mcg.c')
0 files changed, 0 insertions, 0 deletions