diff options
author | Wei Yongjun <[email protected]> | 2021-03-23 11:29:56 +0000 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2021-03-30 11:42:07 +0200 |
commit | 34884c4f6483b9d9f14973cd0c9c06404fe6e13d (patch) | |
tree | c8355a0c0b9af1bb0afb39c707b1a827449d31b4 /tools/perf/util/trace-event-scripting.c | |
parent | eb81ed518079eaf8aca1053ffba54c56271b9f35 (diff) |
mmc: sdhci-of-dwcmshc: fix error return code in dwcmshc_probe()
Fix to return negative error code -ENOMEM from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: c2c4da37837e ("mmc: sdhci-of-dwcmshc: add rockchip platform support")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions