diff options
author | Andre Przywara <andre.przywara@arm.com> | 2021-03-19 16:53:28 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2021-03-24 15:43:03 +0000 |
commit | d302a702530b4025fbb14f20e637badce28bc741 (patch) | |
tree | c6524857f9ce4cd7a098b100149026452815e1f5 /tools/perf/scripts/python/stackcollapse.py | |
parent | 46cb11b17c7a917e0eb5c7aa87a7bc6cda455a5e (diff) |
kselftest/arm64: mte: common: Fix write() warnings
Out of the box Ubuntu's 20.04 compiler warns about missing return value
checks for write() (sys)calls.
Make GCC happy by checking whether we actually managed to write out our
buffer.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Mark Brown <broone@kernel.org>
Link: https://lore.kernel.org/r/20210319165334.29213-6-andre.przywara@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions