summaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2025-05-28 11:55:19 +0300
committerPeter Zijlstra <peterz@infradead.org>2025-06-05 15:37:58 +0300
commit1a9dcf69c7a97e733aa2fc026db22f22928ca7b7 (patch)
tree14e5c7cf3e7253c26838e89d22b6818838a73782 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentec7714e4947909190ffb3041a03311a975350fe0 (diff)
downloadlinux-1a9dcf69c7a97e733aa2fc026db22f22928ca7b7.tar.xz
selftests/futex: getopt() requires int as return value.
Mark reported that futex_priv_hash fails on ARM64. It turns out that the command line parsing does not terminate properly and ends in the default case assuming an invalid option was passed. Use an int as the return type for getopt(). Closes: https://lore.kernel.org/all/31869a69-063f-44a3-a079-ba71b2506cce@sirena.org.uk/ Fixes: 3163369407baf ("selftests/futex: Add futex_numa_mpol") Fixes: cda95faef7bcf ("selftests/futex: Add futex_priv_hash") Reported-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20250528085521.1938355-2-bigeasy@linutronix.de
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions