diff options
author | Easwar Hariharan <easwar.hariharan@intel.com> | 2016-08-16 20:25:34 (GMT) |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-22 19:00:42 (GMT) |
commit | f29a08dc145e05de6a57f0aeaba6020464f80e15 (patch) | |
tree | 775ef2974f0e86c9e78f6ea7ad6f2771b891ffc0 /arch/m68k/ifpsp060 | |
parent | 701b4bf6e3eeff1a856d6889e1ebb35edd6c019a (diff) | |
download | linux-f29a08dc145e05de6a57f0aeaba6020464f80e15.tar.xz |
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>
Diffstat (limited to 'arch/m68k/ifpsp060')
0 files changed, 0 insertions, 0 deletions