]> git.baikalelectronics.ru Git - kernel.git/commit
qedr: clear the vendor error field in the work completion
authorAmrani, Ram <Ram.Amrani@cavium.com>
Thu, 22 Dec 2016 12:40:39 +0000 (14:40 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 22 Dec 2016 16:36:12 +0000 (11:36 -0500)
commitcc18a5e96ad9193171504c294a1ee8ed8888141d
tree26782626f46eb9c15c63e0ca9c618950ef9afeab
parentf612b8b3713d328c1e8c3fcbeb412bb0c5c99164
qedr: clear the vendor error field in the work completion

We clear the vendor error field in the work completion so that if
a work completion is erroneous  the field won't confuse the caller.

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>
drivers/infiniband/hw/qedr/verbs.c