mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 08:39:31 +02:00
EXPECT_EQ() expands to multiple lines, breaking up one-line if statements. This issue was not present in the patch on the mailing list but was instead introduced by the maintainer when attempting to fix up checkpatch warnings. Add braces around EXPECT_EQ() to avoid the error even though checkpatch suggests them to be removed: validate_v_ptrace.c:626:17: error: ‘else’ without a previous ‘if’ Fixes: |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| v_exec_initval_nolibc.c | ||
| v_helpers.c | ||
| v_helpers.h | ||
| v_initval.c | ||
| validate_v_ptrace.c | ||
| vstate_exec_nolibc.c | ||
| vstate_prctl.c | ||
| vstate_ptrace.c | ||