Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1640527
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH V6] perf/x86: add sysfs entry to freeze counter on SMI |
| Date | 2017-05-12 17:10 +0200 |
| Message-ID | <tGkmC-6ms-17@gated-at.bofh.it> (permalink) |
| References | <tGjqy-5DF-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH V6] perf/x86: add sysfs entry to freeze counter on SMI kan.liang@intel.com - 2017-05-12 16:10 +0200 Re: [PATCH V6] perf/x86: add sysfs entry to freeze counter on SMI kbuild test robot <lkp@intel.com> - 2017-05-12 17:10 +0200
csiph-web