From: kbuild test robot <lkp@intel.com>
To: kan.liang@intel.com
Cc: kbuild-all@01.org, peterz@infradead.org, tglx@linutronix.de,
mingo@redhat.com, linux-kernel@vger.kernel.org, bp@alien8.de,
acme@kernel.org, eranian@google.com, jolsa@kernel.org,
ak@linux.intel.com, Kan Liang <Kan.liang@intel.com>
Subject: Re: [PATCH V6] perf/x86: add sysfs entry to freeze counter on SMI
Date: Fri, 12 May 2017 23:00:40 +0800 [thread overview]
Message-ID: <201705122233.epGi11ZM%fengguang.wu@intel.com> (raw)
In-Reply-To: <1494592152-299823-1-git-send-email-kan.liang@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1877 bytes --]
Hi Kan,
[auto build test WARNING on tip/x86/core]
[also build test WARNING on v4.11 next-20170512]
[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/kan-liang-intel-com/perf-x86-add-sysfs-entry-to-freeze-counter-on-SMI/20170512-223452
config: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
arch/x86/events/intel/core.c: In function 'freeze_on_smi_show':
>> arch/x86/events/intel/core.c:3581:24: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
return sprintf(buf, "%d\n", x86_pmu.attr_freeze_on_smi);
^
vim +3581 arch/x86/events/intel/core.c
3565 EVENT_PTR(mem_ld_hsw),
3566 EVENT_PTR(mem_st_hsw),
3567 EVENT_PTR(td_slots_issued),
3568 EVENT_PTR(td_slots_retired),
3569 EVENT_PTR(td_fetch_bubbles),
3570 EVENT_PTR(td_total_slots),
3571 EVENT_PTR(td_total_slots_scale),
3572 EVENT_PTR(td_recovery_bubbles),
3573 EVENT_PTR(td_recovery_bubbles_scale),
3574 NULL
3575 };
3576
3577 static ssize_t freeze_on_smi_show(struct device *cdev,
3578 struct device_attribute *attr,
3579 char *buf)
3580 {
> 3581 return sprintf(buf, "%d\n", x86_pmu.attr_freeze_on_smi);
3582 }
3583
3584 static DEFINE_MUTEX(freeze_on_smi_mutex);
3585
3586 static ssize_t freeze_on_smi_store(struct device *cdev,
3587 struct device_attribute *attr,
3588 const char *buf, size_t count)
3589 {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 6363 bytes --]
prev parent reply other threads:[~2017-05-12 15:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-12 12:29 kan.liang
2017-05-12 15:00 ` kbuild test robot [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=201705122233.epGi11ZM%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=acme@kernel.org \
--cc=ak@linux.intel.com \
--cc=bp@alien8.de \
--cc=eranian@google.com \
--cc=jolsa@kernel.org \
--cc=kan.liang@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.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®