diff options
| author | Jiapeng Chong <[email protected]> | 2021-06-02 10:07:26 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2021-06-03 06:58:37 +0000 |
| commit | 99b18e88a1cf737ae924123d63b46d9a3d17b1af (patch) | |
| tree | ebb091f1b510d96bf9589cdcb48d955df7ed5acf /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | dmaengine: stedma40: add missing iounmap() on error in d40_probe() (diff) | |
| download | kernel-99b18e88a1cf737ae924123d63b46d9a3d17b1af.tar.gz kernel-99b18e88a1cf737ae924123d63b46d9a3d17b1af.zip | |
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 <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Acked-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/1622628446-87909-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
