diff options
author | Jan Sokolowski <jan.sokolowski@intel.com> | 2017-06-09 16:00:26 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-06-27 16:58:13 -0400 |
commit | bc5214ee29220251e5507882696ded5ca183b169 (patch) | |
tree | 87d98ab772df304aa9c27478a1e607e2df0088ae /drivers/infiniband/ulp | |
parent | f683c80ca68e087b55c6f9ab6ca6beb88ebc6d69 (diff) |
IB/hfi1: Handle missing magic values in config file
Driver does not check whether proper configuration file exist in EPROM,
and treats empty partition as possible valid configuration, preventing
fallback to default firmware. Change EPROM read function to treat
missing magic number as read error.
Reviewed-by: Jakub Byczkowski <jakub.byczkowski@intel.com>
Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp')
0 files changed, 0 insertions, 0 deletions