kernel: Prefer `unsigned int` over bare `unsigned`
PATCH 1/1 kernel: Prefer `unsigned int` over bare `unsigned`
This removes 'scripts/checkpatch.pl' warning about using unsigned instead of unsigned int. The warning:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned' 1604: FILE: kernel/exit.c:1604:
+static int child_wait_callback(wait_queue_entry_t *wait, unsigned mode,
Signed-off-by Alexey Suchkov <[email protected]>
--- kernel/exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/exit.c +1 -1
@@ -1601,7 +1601,7 @@ bool pid_child_should_wake(struct wait_opts *wo, struct task_struct *p)return true; } -static int child_wait_callback (wait_queue_entry_t *wait,unsigned mode, +static int child_wait_callback (wait_queue_entry_t *wait,unsigned int mode,int sync,void *key) { struct wait_opts *wo = container_of(wait, struct wait_opts,
Signature · 1 line
2.53.0