OSDN Git Service

IB/hfi1: Disambiguate corruption and uninitialized error cases
authorJan Sokolowski <jan.sokolowski@intel.com>
Sat, 29 Jul 2017 15:43:37 +0000 (08:43 -0700)
committerDoug Ledford <dledford@redhat.com>
Mon, 31 Jul 2017 19:18:38 +0000 (15:18 -0400)
commitc822652ea669f8f46e4e8e2fc0618f2f72103f14
treeaecd483e6e65df575f02dea4f450278005eb9ba8
parente87473bc1b6c2cb08f1b760cfc8cd012822241a6
IB/hfi1: Disambiguate corruption and uninitialized error cases

The error messages when checksum validation of the platform
configuration fields populated into the ASIC scratch registers fails are
ambiguous. Disambiguate them.

Reviewed-by: Jakub Byczkowski <jakub.byczkowski@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@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>
drivers/infiniband/hw/hfi1/platform.c