diff options
author | Amrani, Ram <Ram.Amrani@cavium.com> | 2016-12-22 13:40:36 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-12-22 17:36:12 +0100 |
commit | b4c2cc48aa0be767281669bff9f230e81ef27c56 (patch) | |
tree | 15927b27895e77f25f50237b793c443db21f3582 /drivers/ras/debugfs.c | |
parent | qedr: return correct value on modify qp (diff) | |
download | linux-b4c2cc48aa0be767281669bff9f230e81ef27c56.tar.xz linux-b4c2cc48aa0be767281669bff9f230e81ef27c56.zip |
qedr: modify QP state to error when destroying it
Current code didn't modify the QP state to error because it queried the
QP state as a bitmap while it isn't. So the code never got executed.
This patch fixes this and queries for each QP state respectively and not
at once via a bitmask.
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Reviewed-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/ras/debugfs.c')
0 files changed, 0 insertions, 0 deletions