_fixed_by_git_commit kernel $*
}
+# Compare with _fixed_by_* helpers, this helper is used for test cases
+# are not regression tests, e.g. functional tests or maintainer tests,
+# this helper suggests git commits that should be applied to source trees
+# to avoid test failures.
+_wants_git_commit()
+{
+ local pkg=$1
+ shift
+
+ echo "This test wants $pkg fix:" >> $seqres.hints
+ echo " $*" >> $seqres.hints
+ echo >> $seqres.hints
+}
+
+# Refer to _wants_git_commit
+_wants_kernel_commit()
+{
+ _wants_git_commit kernel $*
+}
+
_check_if_dev_already_mounted()
{
local dev=$1
_supported_fs xfs
_require_command "$INDENT_PROG" indent
+# Starting in Linux 6.1, the EFI log formats were adjusted away from using
+# single-element arrays as flex arrays.
+_wants_kernel_commit 03a7485cd701 \
+ "xfs: fix memcpy fortify errors in EFI log format copying"
+
# filter out known changes to xfs type sizes
_type_size_filter()
{
sizeof(xfs_dq_logformat_t) = 24
sizeof(xfs_dqblk_t) = 136
sizeof(xfs_dsb_t) = 264
-sizeof(xfs_efd_log_format_32_t) = 28
-sizeof(xfs_efd_log_format_64_t) = 32
-sizeof(xfs_efi_log_format_32_t) = 28
-sizeof(xfs_efi_log_format_64_t) = 32
+sizeof(xfs_efd_log_format_32_t) = 16
+sizeof(xfs_efd_log_format_64_t) = 16
+sizeof(xfs_efi_log_format_32_t) = 16
+sizeof(xfs_efi_log_format_64_t) = 16
sizeof(xfs_error_injection_t) = 8
sizeof(xfs_exntfmt_t) = 4
sizeof(xfs_exntst_t) = 4