summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2017-03-21 03:25:29 +0300
committerDoug Ledford <dledford@redhat.com>2017-04-05 21:45:09 +0300
commit5d6f08afdd394c0b162cefe383093aace3e94e39 (patch)
tree220243f80b329c9a83b7f57b87da2560b64805e8 /include
parent9260b3541f3a9159b6f49270077d8669870d5db0 (diff)
downloadlinux-5d6f08afdd394c0b162cefe383093aace3e94e39.tar.xz
IB/hfi1: Check device id early during init
If there is a wrong device passed to the driver it should fail early, without trying to initialize the device only to find out that it has an invalid device later during the init. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions