mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
kselftest/arm64: Fix missing printf() argument in gcs/gcs-stress.c
Compiling the child_cleanup() function results in:
gcs-stress.c: In function ‘child_cleanup’:
gcs-stress.c:266:75: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=]
266 | ksft_print_msg("%s: Exited due to signal %d\n",
| ~^
| |
| int
Add the missing child->exit_signal argument.
Fixes: 05e6cfff58 ("kselftest/arm64: Add a GCS stress test")
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
This commit is contained in:
parent
1caeda5ef2
commit
016d659e62
|
|
@ -264,7 +264,7 @@ static void child_cleanup(struct child_data *child)
|
|||
if (WIFSIGNALED(status)) {
|
||||
child->exit_signal = WTERMSIG(status);
|
||||
ksft_print_msg("%s: Exited due to signal %d\n",
|
||||
child->name);
|
||||
child->name, child->exit_signal);
|
||||
fail = true;
|
||||
child->exited = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user