All of lore.kernel.org
 help / color / mirror / Atom feed
* [ljones-mfd:for-mfd-next 54/54] drivers/mfd/axp20x-i2c.c:82:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_ACPI'
@ 2020-07-06 17:36 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-07-06 17:36 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2448 bytes --]

CC: kbuild-all(a)lists.01.org
TO: Lee Jones <lee.jones@linaro.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
head:   20f359cb236b0e18bfc8ccc12df3bbf7eac1b453
commit: 20f359cb236b0e18bfc8ccc12df3bbf7eac1b453 [54/54] mfd: axp20x-i2c: Do not define 'struct acpi_device_id' when !CONFIG_ACPI
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours ago
config: arc-randconfig-s032-20200706 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-14-g8fce3d7a-dirty
        git checkout 20f359cb236b0e18bfc8ccc12df3bbf7eac1b453
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/mfd/axp20x-i2c.c:82:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_ACPI'

# https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/commit/?id=20f359cb236b0e18bfc8ccc12df3bbf7eac1b453
git remote add ljones-mfd https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
git remote update ljones-mfd
git checkout 20f359cb236b0e18bfc8ccc12df3bbf7eac1b453
vim +/CONFIG_ACPI +82 drivers/mfd/axp20x-i2c.c

4fd411514291ae Chen-Yu Tsai 2016-02-12  81  
20f359cb236b0e Lee Jones    2020-06-25 @82  #if CONFIG_ACPI
4fd411514291ae Chen-Yu Tsai 2016-02-12  83  static const struct acpi_device_id axp20x_i2c_acpi_match[] = {
4fd411514291ae Chen-Yu Tsai 2016-02-12  84  	{
4fd411514291ae Chen-Yu Tsai 2016-02-12  85  		.id = "INT33F4",
4fd411514291ae Chen-Yu Tsai 2016-02-12  86  		.driver_data = AXP288_ID,
4fd411514291ae Chen-Yu Tsai 2016-02-12  87  	},
4fd411514291ae Chen-Yu Tsai 2016-02-12  88  	{ },
4fd411514291ae Chen-Yu Tsai 2016-02-12  89  };
4fd411514291ae Chen-Yu Tsai 2016-02-12  90  MODULE_DEVICE_TABLE(acpi, axp20x_i2c_acpi_match);
20f359cb236b0e Lee Jones    2020-06-25  91  #endif
4fd411514291ae Chen-Yu Tsai 2016-02-12  92  

---
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: 23148 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ljones-mfd:for-mfd-next 54/54] drivers/mfd/axp20x-i2c.c:82:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_ACPI'
@ 2020-07-08 14:17 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-07-08 14:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2377 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
head:   20f359cb236b0e18bfc8ccc12df3bbf7eac1b453
commit: 20f359cb236b0e18bfc8ccc12df3bbf7eac1b453 [54/54] mfd: axp20x-i2c: Do not define 'struct acpi_device_id' when !CONFIG_ACPI
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours ago
config: arc-randconfig-s032-20200706 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-14-g8fce3d7a-dirty
        git checkout 20f359cb236b0e18bfc8ccc12df3bbf7eac1b453
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/mfd/axp20x-i2c.c:82:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_ACPI'

# https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/commit/?id=20f359cb236b0e18bfc8ccc12df3bbf7eac1b453
git remote add ljones-mfd https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
git remote update ljones-mfd
git checkout 20f359cb236b0e18bfc8ccc12df3bbf7eac1b453
vim +/CONFIG_ACPI +82 drivers/mfd/axp20x-i2c.c

4fd411514291ae Chen-Yu Tsai 2016-02-12  81  
20f359cb236b0e Lee Jones    2020-06-25 @82  #if CONFIG_ACPI
4fd411514291ae Chen-Yu Tsai 2016-02-12  83  static const struct acpi_device_id axp20x_i2c_acpi_match[] = {
4fd411514291ae Chen-Yu Tsai 2016-02-12  84  	{
4fd411514291ae Chen-Yu Tsai 2016-02-12  85  		.id = "INT33F4",
4fd411514291ae Chen-Yu Tsai 2016-02-12  86  		.driver_data = AXP288_ID,
4fd411514291ae Chen-Yu Tsai 2016-02-12  87  	},
4fd411514291ae Chen-Yu Tsai 2016-02-12  88  	{ },
4fd411514291ae Chen-Yu Tsai 2016-02-12  89  };
4fd411514291ae Chen-Yu Tsai 2016-02-12  90  MODULE_DEVICE_TABLE(acpi, axp20x_i2c_acpi_match);
20f359cb236b0e Lee Jones    2020-06-25  91  #endif
4fd411514291ae Chen-Yu Tsai 2016-02-12  92  

---
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: 23148 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-08 14:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 17:36 [ljones-mfd:for-mfd-next 54/54] drivers/mfd/axp20x-i2c.c:82:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_ACPI' kernel test robot
2020-07-08 14:17 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.