Home
last modified time | relevance | path

Searched hist:"753 b19afb19dd97d0767df5e8afb13faff605315" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Deprom.cdiff 753b19afb19dd97d0767df5e8afb13faff605315 Tue Sep 26 08:06:09 CDT 2017 Jan Sokolowski <jan.sokolowski@intel.com> IB/hfi1: Check eeprom config partition validity

Relying on a trailing magic value is incorrect. There are instances where
this is not present as trailing magic value has a specific purpose which is
not partition validation. Instead use the header magic value which is
present in all variants of the platform configuration and is intended for
validation. This is also used in other locations in the driver.

Fixes: bc5214ee2922 (IB/hfi1: Handle missing magic values in config file)
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>