[PATCH] kernel: Prefer `unsigned int` over bare `unsigned`

From: Alexey Suchkov

Date: Sun Mar 22 2026 - 06:00:10 EST


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 <dywoq.contact@xxxxxxxxx>
---
kernel/exit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/exit.c b/kernel/exit.c
index ede3117fa..d54c3badb 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -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,
--
2.53.0