diff options
author | Dan Carpenter <[email protected]> | 2020-12-02 17:44:07 +0300 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-12-03 08:51:06 +0100 |
commit | 18d047bd89b8c1f9ba3c9b2d2f7309c953b3ce97 (patch) | |
tree | 2078630763bbb63e1f1d680fe59896bada18284b /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 6043082c96844fa3a047896212e2da0adc1dde81 (diff) |
x86/platform/uv: Fix an error code in uv_hubs_init()
Return -ENOMEM on allocation failure instead of returning random stack
memory contents.
Fixes: 4fc2cf1f2daf ("x86/platform/uv: Add new uv_sysfs platform driver")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Justin Ernst <[email protected]>
Link: https://lkml.kernel.org/r/X8eoN/jMAJb3H3iv@mwanda
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions