aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2025-05-28 08:55:19 +0000
committerPeter Zijlstra <[email protected]>2025-06-05 12:37:58 +0000
commit1a9dcf69c7a97e733aa2fc026db22f22928ca7b7 (patch)
tree14e5c7cf3e7253c26838e89d22b6818838a73782 /drivers/fpga/altera-fpga2sdram.c
parentMerge tag 'rust-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/... (diff)
downloadkernel-1a9dcf69c7a97e733aa2fc026db22f22928ca7b7.tar.gz
kernel-1a9dcf69c7a97e733aa2fc026db22f22928ca7b7.zip
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/[email protected]/ Fixes: 3163369407baf ("selftests/futex: Add futex_numa_mpol") Fixes: cda95faef7bcf ("selftests/futex: Add futex_priv_hash") Reported-by: Mark Brown <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions