]> 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)
commit09eca49a14ce6a4f767878688ede13bc953e7bdd
tree26782626f46eb9c15c63e0ca9c618950ef9afeab
parent4f5e685cfc287058941bdb21c925ab263c7e5791
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