diff options
author | Jakub Byczkowski <jakub.byczkowski@intel.com> | 2017-05-04 15:13:58 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-05-05 02:31:46 +0300 |
commit | 02d1008bcf41c7eada7882df673ae3794f7bfea8 (patch) | |
tree | 5db37b187212312af426a63565b13e5fa9138c48 /include | |
parent | 0d7e2d2166f6b0b7d1959ca858052a15feb574cc (diff) | |
download | linux-02d1008bcf41c7eada7882df673ae3794f7bfea8.tar.xz |
IB/hfi1: Fix checks for Offline transient state
In goto_offline() function pstate is masked by 0xff when compared
to PLS_OFFLINE state. Mask should be 0xf0, since upper 4 bits
specify the "major" state.
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Jakub Byczkowski <jakub.byczkowski@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