summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/mlx-platform.c
diff options
context:
space:
mode:
authorVadim Pasternak2018-01-26 20:03:45 +0100
committerDarren Hart (VMware)2018-01-31 19:36:50 +0100
commit7805fa8d78d0ea8c9c5a6603960e8f23901c7f17 (patch)
treecb715478d1727adaf5a7f619d38e3d6a81b066e6 /drivers/platform/x86/mlx-platform.c
parentplatform/x86: mlx-platform: Add IO access verification callbacks (diff)
downloadkernel-qcow2-linux-7805fa8d78d0ea8c9c5a6603960e8f23901c7f17.tar.gz
kernel-qcow2-linux-7805fa8d78d0ea8c9c5a6603960e8f23901c7f17.tar.xz
kernel-qcow2-linux-7805fa8d78d0ea8c9c5a6603960e8f23901c7f17.zip
platform/mellanox: mlxreg-hotplug: Add check for negative adapter number
Verify before creation of hotplug device if the associated adapter number is negative. It could be in case hotplug event is not associated with hotplug device. Signed-off-by: Vadim Pasternak <vadimp@mellanox.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'drivers/platform/x86/mlx-platform.c')
0 files changed, 0 insertions, 0 deletions