diff options
author | Zhang Xiaoxu <[email protected]> | 2020-11-16 08:58:10 -0500 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-11-18 18:59:47 +0100 |
commit | 61d35648c06cac042d88c6d0b8df8f8c8c72a4d4 (patch) | |
tree | 15259beb927bc5007cc3bd57a2256ccba1b8dabf /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 211f737ac76ac317b67fa903742e92236d5776df (diff) |
EDAC/synopsys: Return the correct value in mc_probe()
Return the error value if the inject sysfs file creation fails, rather
than returning 0, to signal to the upper layer that the ->probe function
failed.
[ bp: Massage. ]
Signed-off-by: Zhang Xiaoxu <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Michal Simek <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions