From: kbuild test robot <lkp@intel.com>
To: Ruchi Kandoi <kandoiruchi@google.com>
Cc: kbuild-all@01.org, John Stultz <john.stultz@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>,
linux-kernel@vger.kernel.org,
Ruchi Kandoi <kandoiruchi@google.com>,
Dimitry Shmidt <dimitrysh@google.com>
Subject: Re: [PATCH] timekeeping: Prints the amounts of time spent during suspend
Date: Fri, 12 Aug 2016 04:05:02 +0800 [thread overview]
Message-ID: <201608120438.3AYngg5A%fengguang.wu@intel.com> (raw)
In-Reply-To: <1470944441-2672-1-git-send-email-kandoiruchi@google.com>
[-- Attachment #1: Type: text/plain, Size: 1801 bytes --]
Hi Ruchi,
[auto build test WARNING on tip/timers/core]
[also build test WARNING on v4.8-rc1 next-20160811]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Ruchi-Kandoi/timekeeping-Prints-the-amounts-of-time-spent-during-suspend/20160812-034700
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k
All warnings (new ones prefixed by >>):
kernel/time/timekeeping_debug.c: In function 'tk_debug_account_sleep_time':
>> kernel/time/timekeeping_debug.c:73:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time64_t' [-Wformat=]
pr_info("Suspended for %lu.%03lu seconds\n", t->tv_sec,
^
vim +73 kernel/time/timekeeping_debug.c
57 struct dentry *d;
58
59 d = debugfs_create_file("sleep_time", 0444, NULL, NULL,
60 &tk_debug_sleep_time_fops);
61 if (!d) {
62 pr_err("Failed to create sleep_time debug file\n");
63 return -ENOMEM;
64 }
65
66 return 0;
67 }
68 late_initcall(tk_debug_sleep_time_init);
69
70 void tk_debug_account_sleep_time(struct timespec64 *t)
71 {
72 sleep_time_bin[fls(t->tv_sec)]++;
> 73 pr_info("Suspended for %lu.%03lu seconds\n", t->tv_sec,
74 t->tv_nsec / NSEC_PER_MSEC);
75 }
76
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 37236 bytes --]
next prev parent reply other threads:[~2016-08-11 20:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-11 19:40 Ruchi Kandoi
2016-08-11 20:05 ` kbuild test robot [this message]
2016-08-11 21:38 ` kbuild test robot
2016-08-12 3:07 ` kbuild test robot
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=201608120438.3AYngg5A%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=dimitrysh@google.com \
--cc=john.stultz@linaro.org \
--cc=kandoiruchi@google.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®