diff options
| author | Christoph Hellwig <[email protected]> | 2020-06-10 10:55:54 +0200 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-07-23 17:43:31 +1000 |
| commit | 7c7ff885c7bce40a487e41c68f1dac14dd2c8033 (patch) | |
| tree | 872d058d93b318cfaf6d4c4177b432bc9d8cd004 /tools/perf/scripts/python | |
| parent | 201220bb0e8cbc163ec7f550b3b7b3da46eb5877 (diff) | |
powerpc/spufs: Fix the type of ret in spufs_arch_write_note
Both the ->dump method and snprintf return an int. So switch to an
int and properly handle errors from ->dump.
Fixes: 5456ffdee666 ("powerpc/spufs: simplify spufs core dumping")
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions