commit | b65c2045cc5089bd3cfacc9fad63798fded64226 | [log] [tgz] |
---|---|---|
author | Grzegorz Morys <grzegorz.morys@intel.com> | Mon Oct 09 12:38:04 2017 -0700 |
committer | Doug Ledford <dledford@redhat.com> | Wed Oct 18 10:12:59 2017 -0400 |
tree | ca0731936e74205d458e460fc38fcbdc854a16fd | |
parent | 621515da67f150eea0e7b6b05614bd0b65d9d16c [diff] |
IB/hfi1: Correct unnecessary acquisition of HW mutex Avoid acquiring already acquired hardware mutex and releasing the unacquired one as these are redundant operations. Add printouts for such situations to help detect potential errors within the driver. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Grzegorz Morys <grzegorz.morys@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>