summaryrefslogtreecommitdiff
path: root/drivers/dma/sh
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2021-06-02 13:07:26 +0300
committerVinod Koul <vkoul@kernel.org>2021-06-03 09:58:37 +0300
commit99b18e88a1cf737ae924123d63b46d9a3d17b1af (patch)
treeebb091f1b510d96bf9589cdcb48d955df7ed5acf /drivers/dma/sh
parentfffdaba402cea79b8d219355487d342ec23f91c6 (diff)
downloadlinux-99b18e88a1cf737ae924123d63b46d9a3d17b1af.tar.xz
dmaengine: idxd: Fix missing error code in idxd_cdev_open()
The error code is missing in this code scenario, add the error code '-EINVAL' to the return value 'rc'. Eliminate the follow smatch warning: drivers/dma/idxd/cdev.c:113 idxd_cdev_open() warn: missing error code 'rc'. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Acked-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/1622628446-87909-1-git-send-email-jiapeng.chong@linux.alibaba.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/sh')
0 files changed, 0 insertions, 0 deletions