linux/drivers/infiniband
Easwar Hariharan f29a08dc14 IB/hfi1: Return invalid field for non-QSFP CableInfo queries
The driver does not check if the CableInfo query is supported for the
port type. Return early if CableInfo is not supported for the port type,
making compliance with the specification explicit and preventing lower
level code from potentially doing the wrong thing if the query is not
supported for the hardware implementation.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-08-22 15:00:42 -04:00
..
core IB/core: Fix possible memory leak in cma_resolve_iboe_route() 2016-08-22 14:26:54 -04:00
hw IB/hfi1: Return invalid field for non-QSFP CableInfo queries 2016-08-22 15:00:42 -04:00
sw Second round of merge items for 4.8 2016-08-04 20:26:31 -04:00
ulp IB/isert: fix error return code in isert_alloc_login_buf() 2016-08-22 14:26:55 -04:00
Kconfig Soft RoCE driver 2016-08-04 11:13:12 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00