From: Varsha Rao <rvarsha016@gmail.com>
To: mawilcox@microsoft.com
Cc: outreachy-kernel <outreachy-kernel@googlegroups.com>
Subject: [PATCH 2/3] kernel: pid: Replace unsigned with unsigned int.
Date: Sun, 26 Mar 2017 21:05:04 +0530 [thread overview]
Message-ID: <58d7dfaa.c65b620a.68c66.766e@mx.google.com> (raw)
In-Reply-To: <cover.1490542214.git.rvarsha016@gmail.com>
Replace unsigned with unsigned int, to fix the checkpatch issue.
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
---
kernel/pid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/pid.c b/kernel/pid.c
index 0b0aad4..c022239 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -125,7 +125,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);
}
/*
--
2.9.3
next prev parent reply other threads:[~2017-03-26 15:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1490542214.git.rvarsha016@gmail.com>
2017-03-26 15:34 ` [PATCH 1/3] kernel: pid: Update documentation Varsha Rao
2017-03-26 15:35 ` Varsha Rao [this message]
2017-03-26 15:41 ` [Outreachy kernel] [PATCH 2/3] kernel: pid: Replace unsigned with unsigned int Julia Lawall
2017-03-27 2:34 ` Varsha Rao
2017-03-26 15:36 ` [PATCH 3/3] kernel: pid: Add blank line after declarations Varsha Rao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58d7dfaa.c65b620a.68c66.766e@mx.google.com \
--to=rvarsha016@gmail.com \
--cc=mawilcox@microsoft.com \
--cc=outreachy-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.