kernel: pid: Fix unsigned int to bare use of unsigned
PATCH 1/1 kernel: pid: Fix unsigned int to bare use of unsigned
Fix up the checkpatch warning: Prefer 'unsigned int' to bare use of 'unsigned'.
Signed-off-by Gargi Sharma <[email protected]>
--- kernel/pid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/pid.c +1 -1
@@ -122,7 +122,7 @@ static int pid_before(int base, int a, int b)* (a - base + MAXUINT) % MAXUINT < (b - base + MAXUINT) % MAXUINT * and that mapping orders 'a' and 'b' with respect to 'base'. */ -return (unsigned )(a - base) < (unsigned )(b - base); +return (unsigned int )(a - base) < (unsigned int )(b - base); }/*
Signature · 1 line
2.7.4