summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMichael J. Ruhl <michael.j.ruhl@intel.com>2018-09-10 09:39:28 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-20 18:46:21 +0100
commit93ae4ded2abe8fce6183bcb200d647494ce40549 (patch)
tree216e88feed1d105124aa3b3c9ff86bcd73aa6245 /kernel
parent45d0ddf9744815f5ef67dfb630c131f306d9c100 (diff)
IB/hfi1: Missing return value in error path for user sdma
[ Upstream commit 2bf4b33f83dfe521c4c7c407b6b150aeec04d69c ] If the set_txreq_header_agh() function returns an error, the exit path is chosen. In this path, the code fails to set the return value. This will cause the caller to not realize an error has occurred. Set the return value correctly in the error path. Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions