diff options
author | Andre Przywara <andre.przywara@arm.com> | 2021-03-19 16:53:27 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2021-03-24 15:43:01 +0000 |
commit | 46cb11b17c7a917e0eb5c7aa87a7bc6cda455a5e (patch) | |
tree | a0fc436b559c4c46dd17e32b33321bfdc4b5803b /tools/perf/scripts/python/stackcollapse.py | |
parent | 31c88729a7ad2b9871e6a73e491ec7223880d633 (diff) |
kselftest/arm64: mte: user_mem: Fix write() warning
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 "val".
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Mark Brown <broone@kernel.org>
Link: https://lore.kernel.org/r/20210319165334.29213-5-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