* drivers/platform/x86/amd-pmc.c:88:5: warning: "CONFIG_DEBUG_FS" is not defined, evaluates to 0
@ 2020-12-27 21:36 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-27 21:36 UTC (permalink / raw)
To: Shyam Sundar S K; +Cc: kbuild-all, linux-kernel, Hans de Goede, Andy Shevchenko
[-- Attachment #1: Type: text/plain, Size: 1677 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f838f8d2b694cf9d524dc4423e9dd2db13892f3f
commit: 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e platform/x86: amd-pmc: Add AMD platform support for S2Idle
date: 7 weeks ago
config: i386-randconfig-p002-20201222 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=156ec4731cb22b06c08e27debc1ef9f16f4bbb5e
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/platform/x86/amd-pmc.c:88:5: warning: "CONFIG_DEBUG_FS" is not defined, evaluates to 0 [-Wundef]
88 | #if CONFIG_DEBUG_FS
| ^~~~~~~~~~~~~~~
vim +/CONFIG_DEBUG_FS +88 drivers/platform/x86/amd-pmc.c
87
> 88 #if CONFIG_DEBUG_FS
89 static int smu_fw_info_show(struct seq_file *s, void *unused)
90 {
91 struct amd_pmc_dev *dev = s->private;
92 u32 value;
93
94 value = ioread32(dev->smu_base + AMD_SMU_FW_VERSION);
95 seq_printf(s, "SMU FW Info: %x\n", value);
96 return 0;
97 }
98 DEFINE_SHOW_ATTRIBUTE(smu_fw_info);
99
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39431 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/platform/x86/amd-pmc.c:88:5: warning: "CONFIG_DEBUG_FS" is not defined, evaluates to 0
@ 2020-12-27 21:36 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-27 21:36 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1722 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f838f8d2b694cf9d524dc4423e9dd2db13892f3f
commit: 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e platform/x86: amd-pmc: Add AMD platform support for S2Idle
date: 7 weeks ago
config: i386-randconfig-p002-20201222 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=156ec4731cb22b06c08e27debc1ef9f16f4bbb5e
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 156ec4731cb22b06c08e27debc1ef9f16f4bbb5e
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/platform/x86/amd-pmc.c:88:5: warning: "CONFIG_DEBUG_FS" is not defined, evaluates to 0 [-Wundef]
88 | #if CONFIG_DEBUG_FS
| ^~~~~~~~~~~~~~~
vim +/CONFIG_DEBUG_FS +88 drivers/platform/x86/amd-pmc.c
87
> 88 #if CONFIG_DEBUG_FS
89 static int smu_fw_info_show(struct seq_file *s, void *unused)
90 {
91 struct amd_pmc_dev *dev = s->private;
92 u32 value;
93
94 value = ioread32(dev->smu_base + AMD_SMU_FW_VERSION);
95 seq_printf(s, "SMU FW Info: %x\n", value);
96 return 0;
97 }
98 DEFINE_SHOW_ATTRIBUTE(smu_fw_info);
99
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 39431 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-27 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-27 21:36 drivers/platform/x86/amd-pmc.c:88:5: warning: "CONFIG_DEBUG_FS" is not defined, evaluates to 0 kernel test robot
2020-12-27 21:36 ` kernel test robot
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.