aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorEvgeny Novikov <[email protected]>2020-06-23 11:29:59 +0300
committerGreg Kroah-Hartman <[email protected]>2020-06-25 15:40:27 +0200
commit8ce8668bfb64f2973cc1276c54619aceede6498a (patch)
treebf503b09ee4d87dbaa3ad7b2e48267186377f91c /tools/perf/scripts/python/bin
parentc8a00029dc70d0c35e84d6f0ff99a534dfe636e6 (diff)
staging: kpc2000: kpc_dma: set error code in probe
If device_create() fails during probing the device, kpc_dma_probe() does not set the error code and returns 0. This can result in various bad issues later. The patch sets the error code on the corresponding error handling path. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Evgeny Novikov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions