[groeck-staging:hwmon-next 58/60] nct6775-platform.c:(.text.nct6775_wmi_reg_write+0x3c): undefined reference to `nct6775_reg_is_word_sized'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
head:   ef36d83f3d676eb67ecc39c901aa3e72c59128e2
commit: 58f1d9ebfce62344f11f191cf1415b8f74a7e7d2 [58/60] hwmon: (nct6775) Add i2c driver
config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20220510/202205102101.WVR7Q8TJ-lkp@xxxxxxxxx/config)
compiler: powerpc-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/commit/?id=58f1d9ebfce62344f11f191cf1415b8f74a7e7d2
        git remote add groeck-staging https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
        git fetch --no-tags groeck-staging hwmon-next
        git checkout 58f1d9ebfce62344f11f191cf1415b8f74a7e7d2
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   powerpc-linux-ld: drivers/hwmon/nct6775-platform.o: in function `nct6775_wmi_reg_write':
>> nct6775-platform.c:(.text.nct6775_wmi_reg_write+0x3c): undefined reference to `nct6775_reg_is_word_sized'
   powerpc-linux-ld: drivers/hwmon/nct6775-platform.o: in function `nct6775_wmi_reg_read':
>> nct6775-platform.c:(.text.nct6775_wmi_reg_read+0x3c): undefined reference to `nct6775_reg_is_word_sized'
   powerpc-linux-ld: drivers/hwmon/nct6775-platform.o: in function `nct6775_resume':
>> nct6775-platform.c:(.text.nct6775_resume+0x460): undefined reference to `nct6775_reg_is_word_sized'
   powerpc-linux-ld: drivers/hwmon/nct6775-platform.o: in function `nct6775_platform_probe':
>> nct6775-platform.c:(.text.nct6775_platform_probe+0x124): undefined reference to `nct6775_probe'
   powerpc-linux-ld: drivers/hwmon/nct6775-platform.o: in function `nct6775_reg_read':
>> nct6775-platform.c:(.text.nct6775_reg_read+0x5c): undefined reference to `nct6775_reg_is_word_sized'
   powerpc-linux-ld: drivers/hwmon/nct6775-platform.o: in function `nct6775_reg_write':
>> nct6775-platform.c:(.text.nct6775_reg_write+0x5c): undefined reference to `nct6775_reg_is_word_sized'
>> powerpc-linux-ld: drivers/hwmon/nct6775-platform.o:(.data.sensor_dev_attr_beep_enable+0x14): undefined reference to `nct6775_show_beep'
>> powerpc-linux-ld: drivers/hwmon/nct6775-platform.o:(.data.sensor_dev_attr_beep_enable+0x18): undefined reference to `nct6775_store_beep'
>> powerpc-linux-ld: drivers/hwmon/nct6775-platform.o:(.data.sensor_dev_attr_intrusion0_alarm+0x14): undefined reference to `nct6775_show_alarm'
>> powerpc-linux-ld: drivers/hwmon/nct6775-platform.o:(.data.sensor_dev_attr_intrusion0_beep+0x14): undefined reference to `nct6775_show_beep'
>> powerpc-linux-ld: drivers/hwmon/nct6775-platform.o:(.data.sensor_dev_attr_intrusion0_beep+0x18): undefined reference to `nct6775_store_beep'
>> powerpc-linux-ld: drivers/hwmon/nct6775-platform.o:(.data.sensor_dev_attr_intrusion1_alarm+0x14): undefined reference to `nct6775_show_alarm'
>> powerpc-linux-ld: drivers/hwmon/nct6775-platform.o:(.data.sensor_dev_attr_intrusion1_beep+0x14): undefined reference to `nct6775_show_beep'
>> powerpc-linux-ld: drivers/hwmon/nct6775-platform.o:(.data.sensor_dev_attr_intrusion1_beep+0x18): undefined reference to `nct6775_store_beep'
   powerpc-linux-ld: drivers/hwmon/nct6775-i2c.o: in function `nct6775_i2c_read':
>> nct6775-i2c.c:(.text.nct6775_i2c_read+0xd8): undefined reference to `nct6775_reg_is_word_sized'
   powerpc-linux-ld: drivers/hwmon/nct6775-i2c.o: in function `nct6775_i2c_probe':
>> nct6775-i2c.c:(.text.nct6775_i2c_probe+0x10c): undefined reference to `nct6775_probe'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for SENSORS_NCT6775
   Depends on HWMON && !PPC && (ACPI_WMI || ACPI_WMI
   Selected by
   - SENSORS_NCT6775_I2C && HWMON && I2C

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux