> From: Wake Liu <[email protected]> > > In futex_waitv negative tests (invalid_flag, unaligned_address, etc.), test > results are evaluated as: > > if (res == EINVAL) > > Since sys_futex_waitv returns -1 on error and sets errno, direct positive > comparisons against res are always false, causing tests to silently pass > regardless of real errors. > > Correct these validations to assert EXPECT_EQ(res, -1) and compare errno > directly against expected constants. > > [ tglx: Fixup coding style ] > [ ... ] > > https://virtuozzo.atlassian.net/browse/VSTOR-152660 > Feature: fix selftests > > Signed-off-by: Eva Kurchatova <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.vzint.dev/#/patchset/[email protected]?part=2 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
