From: tip-bot for Mars Cheng <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, john.stultz@linaro.org,
jades.shih@mediatek.com, tglx@linutronix.de,
loda.chou@mediatek.com, mars.cheng@mediatek.com,
yingjoe.chen@mediatek.com, miles.chen@mediatek.com,
my.chuang@mediatek.com, mingo@kernel.org, hpa@zytor.com,
cc.hwang@mediatek.com, matthias.bgg@gmail.com
Subject: [tip:timers/core] timer_list: Remove useless cast when printing
Date: Fri, 10 Feb 2017 02:19:22 -0800 [thread overview]
Message-ID: <tip-7551b02b94ad1daee3a79d667dc3c46d08328f87@git.kernel.org> (raw)
In-Reply-To: <1486626615-5879-1-git-send-email-mars.cheng@mediatek.com>
Commit-ID: 7551b02b94ad1daee3a79d667dc3c46d08328f87
Gitweb: http://git.kernel.org/tip/7551b02b94ad1daee3a79d667dc3c46d08328f87
Author: Mars Cheng <mars.cheng@mediatek.com>
AuthorDate: Thu, 9 Feb 2017 15:50:15 +0800
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Fri, 10 Feb 2017 11:15:08 +0100
timer_list: Remove useless cast when printing
hrtimer_resolution is already unsigned int, not necessary to cast
it when printing.
Signed-off-by: Mars Cheng <mars.cheng@mediatek.com>
Cc: CC Hwang <cc.hwang@mediatek.com>
Cc: wsd_upstream@mediatek.com
Cc: Loda Chou <loda.chou@mediatek.com>
Cc: Jades Shih <jades.shih@mediatek.com>
Cc: Miles Chen <miles.chen@mediatek.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: My Chuang <my.chuang@mediatek.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Yingjoe Chen <yingjoe.chen@mediatek.com>
Link: http://lkml.kernel.org/r/1486626615-5879-1-git-send-email-mars.cheng@mediatek.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
kernel/time/timer_list.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c
index 387a3a5..ff8d5c1 100644
--- a/kernel/time/timer_list.c
+++ b/kernel/time/timer_list.c
@@ -117,7 +117,7 @@ print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now)
SEQ_printf(m, " .base: %pK\n", base);
SEQ_printf(m, " .index: %d\n", base->index);
- SEQ_printf(m, " .resolution: %u nsecs\n", (unsigned) hrtimer_resolution);
+ SEQ_printf(m, " .resolution: %u nsecs\n", hrtimer_resolution);
SEQ_printf(m, " .get_time: ");
print_name_offset(m, base->get_time);
prev parent reply other threads:[~2017-02-10 10:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 7:50 [PATCH 1/1] timer_list: remove useless cast when printing Mars Cheng
2017-02-10 10:19 ` tip-bot for Mars Cheng [this message]
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=tip-7551b02b94ad1daee3a79d667dc3c46d08328f87@git.kernel.org \
--to=tipbot@zytor.com \
--cc=cc.hwang@mediatek.com \
--cc=hpa@zytor.com \
--cc=jades.shih@mediatek.com \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=loda.chou@mediatek.com \
--cc=mars.cheng@mediatek.com \
--cc=matthias.bgg@gmail.com \
--cc=miles.chen@mediatek.com \
--cc=mingo@kernel.org \
--cc=my.chuang@mediatek.com \
--cc=tglx@linutronix.de \
--cc=yingjoe.chen@mediatek.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).