commit | 7805fa8d78d0ea8c9c5a6603960e8f23901c7f17 | [log] [tgz] |
---|---|---|
author | Vadim Pasternak <vadimp@mellanox.com> | Fri Jan 26 19:03:45 2018 +0000 |
committer | Darren Hart (VMware) <dvhart@infradead.org> | Wed Jan 31 10:36:50 2018 -0800 |
tree | cb715478d1727adaf5a7f619d38e3d6a81b066e6 | |
parent | 0b78b1c2f43511cac53c5ab12b2235c31e3d41e5 [diff] |
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>