aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/lib
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2021-03-19 16:53:28 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2021-03-24 15:43:03 +0000
commitd302a702530b4025fbb14f20e637badce28bc741 (patch)
treec6524857f9ce4cd7a098b100149026452815e1f5 /tools/testing/selftests/lib
parentkselftest/arm64: mte: user_mem: Fix write() warning (diff)
downloadlinux-dev-d302a702530b4025fbb14f20e637badce28bc741.tar.xz
linux-dev-d302a702530b4025fbb14f20e637badce28bc741.zip
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/testing/selftests/lib')
0 files changed, 0 insertions, 0 deletions