ERROR: modpost: "__aeabi_unwind_cpp_pr0" undefined!
by kernel test robot
Hi Mike,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1e28eed17697bcf343c6743f0028cc3b5dd88bf0
commit: cd900f181ad6b548a8feded5dd224f789f09b1c6 power/supply: Add ltc4162-l-charger
date: 9 weeks ago
config: arm-randconfig-r024-20210314 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dfd27ebbd0eb137c9a439b7c537bb87ba903efd3)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout cd900f181ad6b548a8feded5dd224f789f09b1c6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lm3530.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-ktd2692.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-is31fl32xx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-da903x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-cpcap.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-aw2013.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-as3645a.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-aat1290.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/led-class-flash.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/core/mmc_block.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/core/pwrseq_emmc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/core/pwrseq_simple.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/core/mmc_core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/mmc_hsq.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/cqhci.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci-omap.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci-of-aspeed.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci-cadence.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci-pltfm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/usdhi6rol0.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/ushc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/vub300.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/of_mmc_spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/mmc_spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/omap.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci_am654.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci_f_sdh30.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/cpufreq/cpufreq-dt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/cpufreq/cpufreq_ondemand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/cpufreq/cpufreq_userspace.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/cpufreq/cpufreq_powersave.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/watchdog/menz69_wdt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/watchdog/wm831x_wdt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/watchdog/mena21_wdt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/watchdog/dw_wdt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/watchdog/ftwdt010_wdt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/watchdog/pretimeout_noop.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/thermal/thermal-generic-adc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/thermal/thermal_mmio.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/wm8350-hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/vexpress-hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/tmp108.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/thmc50.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/amc6821.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/smsc47m1.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/sch5627.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/pwm-fan.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/powr1220.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/pc87427.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/pc87360.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ntc_thermistor.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/nct7904.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/nct6775.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/mcp3021.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/mc13783-adc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/max6697.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/max6639.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/max31730.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/max1668.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/max16065.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/max1111.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ltc4261.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ltc4260.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ltc2992.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/lm90.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/lm87.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/lm75.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ina209.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/iio_hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ibmpex.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/hih6130.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/gpio-fan.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/gsc-hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/g762.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/f71882fg.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/emc1403.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ds620.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/drivetemp.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/dme1737.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/corsair-psu.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/corsair-cpro.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/axi-fan-control.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/atxp1.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/asc7621.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/as370-hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/scpi-hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/adt7462.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/adt7411.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ad7418.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/w83791d.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/w83795.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/occ/occ-p9-hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/axp288_fuel_gauge.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/tps65217_charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/smb347-charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/bq256xx_charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/bq25890_charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/bq24735-charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/max77650-charger.ko] undefined!
>> ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/ltc4162-l-charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/charger-manager.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/lp8727_charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/twl4030_charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/isp1704_charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/rx51_battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/pcf50633-charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/twl4030_madc_battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/da9030_battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/bq27xxx_battery_hdq.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/sbs-manager.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/sbs-charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/ds2782_battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/cw2015_battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/cpcap-battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/wm8350_power.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/wm831x_power.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/wm831x_backup.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/pda_power.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/generic-adc-battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/reset/nvmem-reboot-mode.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/w1/slaves/w1_ds28e17.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/w1/slaves/w1_ds250x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/w1/slaves/w1_ds2430.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/w1/slaves/w1_ds2406.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/w1/masters/sgi_w1.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/w1/masters/ds1wm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/pps/clients/pps-gpio.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-core/dvb-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/v4l2-core/videobuf-vmalloc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/v4l2-core/videobuf-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/v4l2-core/tuner.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/v4l2-core/v4l2-dv-timings.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/v4l2-core/videodev.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/v4l2-core/v4l2-fwnode.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/mc/mc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tc90522.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/gp8psk-fe.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/af9033.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/m88rs2000.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/rtl2832.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/rtl2830.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda10071.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/sp2.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/a8293.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda18271c2dd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/drxk.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cxd2841er.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cxd2820r.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/ix2505v.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/mb86a20s.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/drx39xyj/drx39xyj.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/ts2020.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/ds3000.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/isl6423.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/mn88473.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/mn88472.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/m88ds3103.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv6110x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv090x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv0900.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv6110.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/s921.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stb6000.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv0288.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/si2168.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/si21xx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cx24120.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cx24116.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/af9013.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/atbm8830.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/lgs8gxx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/s5h1411.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cx24113.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda10048.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/itd1000.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/s5h1409.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/dib0070.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda826x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda10086.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/isl6421.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cx24123.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/lg2160.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/lgdt3306a.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/lgdt3305.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/lgdt330x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/s5h1420.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/bcm3510.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/nxt200x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv0297.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda10023.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/drxd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cx22702.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/zl10353.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/zl10039.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/mt352.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/mt312.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/dib7000p.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/dibx000_common.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/dib3000mc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/dib3000mb.ko] undefined!
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
arch/riscv/mm/kasan_init.c:99:13: warning: no previous prototype for function 'kasan_shallow_populate'
by kernel test robot
Hi Nylon,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1e28eed17697bcf343c6743f0028cc3b5dd88bf0
commit: e178d670f251b6947d6be99c0014e9a57ad4f0e0 riscv/kasan: add KASAN_VMALLOC support
date: 3 weeks ago
config: riscv-randconfig-r022-20210315 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 7ee96429a0b057bcc97331a6a762fc3cd00aed61)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout e178d670f251b6947d6be99c0014e9a57ad4f0e0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> arch/riscv/mm/kasan_init.c:99:13: warning: no previous prototype for function 'kasan_shallow_populate' [-Wmissing-prototypes]
void __init kasan_shallow_populate(void *start, void *end)
^
arch/riscv/mm/kasan_init.c:99:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init kasan_shallow_populate(void *start, void *end)
^
static
1 warning generated.
vim +/kasan_shallow_populate +99 arch/riscv/mm/kasan_init.c
98
> 99 void __init kasan_shallow_populate(void *start, void *end)
100 {
101 unsigned long vaddr = (unsigned long)start & PAGE_MASK;
102 unsigned long vend = PAGE_ALIGN((unsigned long)end);
103 unsigned long pfn;
104 int index;
105 void *p;
106 pud_t *pud_dir, *pud_k;
107 pgd_t *pgd_dir, *pgd_k;
108 p4d_t *p4d_dir, *p4d_k;
109
110 while (vaddr < vend) {
111 index = pgd_index(vaddr);
112 pfn = csr_read(CSR_SATP) & SATP_PPN;
113 pgd_dir = (pgd_t *)pfn_to_virt(pfn) + index;
114 pgd_k = init_mm.pgd + index;
115 pgd_dir = pgd_offset_k(vaddr);
116 set_pgd(pgd_dir, *pgd_k);
117
118 p4d_dir = p4d_offset(pgd_dir, vaddr);
119 p4d_k = p4d_offset(pgd_k, vaddr);
120
121 vaddr = (vaddr + PUD_SIZE) & PUD_MASK;
122 pud_dir = pud_offset(p4d_dir, vaddr);
123 pud_k = pud_offset(p4d_k, vaddr);
124
125 if (pud_present(*pud_dir)) {
126 p = early_alloc(PAGE_SIZE, NUMA_NO_NODE);
127 pud_populate(&init_mm, pud_dir, p);
128 }
129 vaddr += PAGE_SIZE;
130 }
131 }
132
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
drivers/gpu/drm/exynos/exynos_drm_dma.c:146:19: warning: variable 'mapping' is uninitialized when used here
by kernel test robot
Hi Joerg,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1e28eed17697bcf343c6743f0028cc3b5dd88bf0
commit: 56fbacc9bf23d372d78eef3809c1ac93d88e11f4 Merge branches 'arm/renesas', 'arm/qcom', 'arm/mediatek', 'arm/omap', 'arm/exynos', 'arm/smmu', 'ppc/pamu', 'x86/vt-d', 'x86/amd' and 'core' into next
date: 8 months ago
config: riscv-randconfig-r022-20210315 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 7ee96429a0b057bcc97331a6a762fc3cd00aed61)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 56fbacc9bf23d372d78eef3809c1ac93d88e11f4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/exynos/exynos_drm_dma.c:146:19: warning: variable 'mapping' is uninitialized when used here [-Wuninitialized]
priv->mapping = mapping;
^~~~~~~
drivers/gpu/drm/exynos/exynos_drm_dma.c:136:16: note: initialize the variable 'mapping' to silence this warning
void *mapping;
^
= NULL
1 warning generated.
vim +/mapping +146 drivers/gpu/drm/exynos/exynos_drm_dma.c
237556962e5115 Andrzej Hajda 2018-10-12 120
07dc3678bacc2a Marek Szyprowski 2020-03-09 121 int exynos_drm_register_dma(struct drm_device *drm, struct device *dev,
07dc3678bacc2a Marek Szyprowski 2020-03-09 122 void **dma_priv)
237556962e5115 Andrzej Hajda 2018-10-12 123 {
237556962e5115 Andrzej Hajda 2018-10-12 124 struct exynos_drm_private *priv = drm->dev_private;
237556962e5115 Andrzej Hajda 2018-10-12 125
237556962e5115 Andrzej Hajda 2018-10-12 126 if (!priv->dma_dev) {
237556962e5115 Andrzej Hajda 2018-10-12 127 priv->dma_dev = dev;
237556962e5115 Andrzej Hajda 2018-10-12 128 DRM_INFO("Exynos DRM: using %s device for DMA mapping operations\n",
237556962e5115 Andrzej Hajda 2018-10-12 129 dev_name(dev));
237556962e5115 Andrzej Hajda 2018-10-12 130 }
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 131
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 132 if (!IS_ENABLED(CONFIG_EXYNOS_IOMMU))
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 133 return 0;
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 134
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 135 if (!priv->mapping) {
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 136 void *mapping;
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 137
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 138 if (IS_ENABLED(CONFIG_ARM_DMA_USE_IOMMU))
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 139 mapping = arm_iommu_create_mapping(&platform_bus_type,
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 140 EXYNOS_DEV_ADDR_START, EXYNOS_DEV_ADDR_SIZE);
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 141 else if (IS_ENABLED(CONFIG_IOMMU_DMA))
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 142 mapping = iommu_get_domain_for_dev(priv->dma_dev);
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 143
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 144 if (IS_ERR(mapping))
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 145 return PTR_ERR(mapping);
67fbf3a3ef8443 Andrzej Hajda 2018-10-12 @146 priv->mapping = mapping;
237556962e5115 Andrzej Hajda 2018-10-12 147 }
237556962e5115 Andrzej Hajda 2018-10-12 148
07dc3678bacc2a Marek Szyprowski 2020-03-09 149 return drm_iommu_attach_device(drm, dev, dma_priv);
237556962e5115 Andrzej Hajda 2018-10-12 150 }
237556962e5115 Andrzej Hajda 2018-10-12 151
:::::: The code at line 146 was first introduced by commit
:::::: 67fbf3a3ef84436c58b5ead53b4b866125ad7ce9 drm/exynos/iommu: merge IOMMU and DMA code
:::::: TO: Andrzej Hajda <a.hajda(a)samsung.com>
:::::: CC: Inki Dae <inki.dae(a)samsung.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
ERROR: modpost: "__aeabi_unwind_cpp_pr0" undefined!
by kernel test robot
Hi Ricardo,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 88fe49249c99de14e543c632a46248d85411ab9e
commit: 32e4978bb920d047fe5de3ea42d176f267c01f63 power: supply: bq256xx: Introduce the BQ256XX charger driver
date: 10 weeks ago
config: arm-randconfig-r024-20210314 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dfd27ebbd0eb137c9a439b7c537bb87ba903efd3)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 32e4978bb920d047fe5de3ea42d176f267c01f63
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lp3952.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lp3944.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lm3601x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lm3533.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-lm3530.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-ktd2692.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-is31fl32xx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-da903x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-cpcap.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-aw2013.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-as3645a.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/leds-aat1290.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/leds/led-class-flash.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/core/mmc_block.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/core/pwrseq_emmc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/core/pwrseq_simple.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/core/mmc_core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/mmc_hsq.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/cqhci.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci-omap.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci-of-aspeed.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci-cadence.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci-pltfm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/usdhi6rol0.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/ushc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/vub300.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/of_mmc_spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/mmc_spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/omap.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci_am654.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci_f_sdh30.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/mmc/host/sdhci.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/cpufreq/cpufreq-dt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/cpufreq/cpufreq_ondemand.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/cpufreq/cpufreq_userspace.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/cpufreq/cpufreq_powersave.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/watchdog/menz69_wdt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/watchdog/wm831x_wdt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/watchdog/mena21_wdt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/watchdog/dw_wdt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/watchdog/ftwdt010_wdt.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/watchdog/pretimeout_noop.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/thermal/thermal-generic-adc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/thermal/thermal_mmio.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/wm8350-hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/vexpress-hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/tmp108.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/thmc50.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/amc6821.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/smsc47m1.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/sch5627.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/pwm-fan.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/powr1220.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/pc87427.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/pc87360.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ntc_thermistor.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/nct7904.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/nct6775.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/mcp3021.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/mc13783-adc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/max6697.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/max6639.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/max31730.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/max1668.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/max16065.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/max1111.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ltc4261.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ltc4260.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ltc2992.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/lm90.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/lm87.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/lm75.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ina209.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/iio_hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ibmpex.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/hih6130.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/gpio-fan.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/gsc-hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/g762.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/f71882fg.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/emc1403.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ds620.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/drivetemp.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/dme1737.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/corsair-psu.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/corsair-cpro.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/axi-fan-control.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/atxp1.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/asc7621.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/as370-hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/scpi-hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/adt7462.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/adt7411.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/ad7418.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/w83791d.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/w83795.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/hwmon/occ/occ-p9-hwmon.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/axp288_fuel_gauge.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/tps65217_charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/smb347-charger.ko] undefined!
>> ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/bq256xx_charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/bq25890_charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/bq24735-charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/max77650-charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/charger-manager.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/lp8727_charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/twl4030_charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/isp1704_charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/rx51_battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/pcf50633-charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/twl4030_madc_battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/da9030_battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/bq27xxx_battery_hdq.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/sbs-manager.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/sbs-charger.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/ds2782_battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/cw2015_battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/cpcap-battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/wm8350_power.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/wm831x_power.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/wm831x_backup.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/pda_power.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/supply/generic-adc-battery.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/power/reset/nvmem-reboot-mode.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/w1/slaves/w1_ds28e17.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/w1/slaves/w1_ds250x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/w1/slaves/w1_ds2430.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/w1/slaves/w1_ds2406.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/w1/masters/sgi_w1.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/w1/masters/ds1wm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/pps/clients/pps-gpio.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-core/dvb-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/v4l2-core/videobuf-vmalloc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/v4l2-core/videobuf-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/v4l2-core/tuner.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/v4l2-core/v4l2-dv-timings.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/v4l2-core/videodev.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/v4l2-core/v4l2-fwnode.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/mc/mc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tc90522.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/gp8psk-fe.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/af9033.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/m88rs2000.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/rtl2832.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/rtl2830.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda10071.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/sp2.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/a8293.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda18271c2dd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/drxk.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cxd2841er.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cxd2820r.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/ix2505v.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/mb86a20s.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/drx39xyj/drx39xyj.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/ts2020.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/ds3000.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/isl6423.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/mn88473.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/mn88472.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/m88ds3103.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv6110x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv090x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv0900.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv6110.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/s921.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stb6000.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv0288.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/si2168.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/si21xx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cx24120.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cx24116.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/af9013.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/atbm8830.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/lgs8gxx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/s5h1411.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cx24113.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda10048.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/itd1000.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/s5h1409.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/dib0070.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda826x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda10086.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/isl6421.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cx24123.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/lg2160.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/lgdt3306a.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/lgdt3305.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/lgdt330x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/s5h1420.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/bcm3510.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/nxt200x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/stv0297.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/tda10023.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/drxd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/cx22702.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/zl10353.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/zl10039.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/mt352.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/mt312.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [drivers/media/dvb-frontends/dib7000p.ko] undefined!
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
ERROR: modpost: "__aeabi_unwind_cpp_pr0" undefined!
by kernel test robot
Hi Sameer,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 88fe49249c99de14e543c632a46248d85411ab9e
commit: 563c2681d4313f55b9b1d9a8f635946cd4972170 ASoC: rt5659: Add Kconfig prompt
date: 6 weeks ago
config: arm-randconfig-r024-20210314 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dfd27ebbd0eb137c9a439b7c537bb87ba903efd3)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 563c2681d4313f55b9b1d9a8f635946cd4972170
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/mac802154/mac802154.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/9p/9pnet_virtio.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/9p/9pnet.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/lapb/lapb.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/appletalk/appletalk.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/llc/llc2.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/llc/llc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/xdp/xsk_diag.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/qrtr/qrtr-smd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/unix/unix_diag.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/em_text.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/em_nbyte.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/em_cmp.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/cls_matchall.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/cls_cgroup.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/cls_basic.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/cls_rsvp6.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/cls_u32.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/sch_cbs.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/sch_fq_pie.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/sch_pie.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/sch_hhf.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/sch_ets.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/sch_teql.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/sch_dsmark.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/sched/sch_red.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/802/psnap.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [net/802/p8022.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [samples/ftrace/sample-trace-array.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [samples/trace_printk/trace-printk.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [samples/rpmsg/rpmsg_client_sample.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [samples/kobject/kset-example.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [samples/kobject/kobject-example.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [samples/vfio-mdev/mdpy-fb.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/ac97_bus.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/xilinx/snd-soc-xlnx-spdif.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/xilinx/snd-soc-xlnx-formatter-pcm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/xilinx/snd-soc-xlnx-i2s.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/hisilicon/hi6210-i2s.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/fsl/snd-soc-fsl-xcvr.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/fsl/snd-soc-fsl-mqs.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/fsl/snd-soc-fsl-esai.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/fsl/snd-soc-fsl-sai.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/fsl/snd-soc-fsl-audmix.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/bcm/snd-soc-63xx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/atmel/snd-soc-mikroe-proto.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/amd/snd-soc-acp-da7219mx98357-mach.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/amd/acp_audio_dma.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/adi/snd-soc-adi-axi-spdif.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/adi/snd-soc-adi-axi-i2s.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/generic/snd-soc-audio-graph-card.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/generic/snd-soc-simple-card-utils.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tpa6130a2.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-simple-amplifier.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-max98504.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-zl38060.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wsa881x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8978.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8974.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8960.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8904.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8903.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8782.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8776.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8770.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8753.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8750.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8741.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8731.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8711.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8523.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-wm8510.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-uda1334.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-ts3a227e.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tscs42xx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tlv320adcx140.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tlv320aic23-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tlv320aic23-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tlv320aic23.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tda7419.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tas5720.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tas571x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tas5086.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tas2764.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tas2562.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-tas2552.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-sta350.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-ssm4567.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-ssm2602-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-ssm2602.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-spdif-tx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-spdif-rx.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-sigmadsp-regmap.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-sigmadsp-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-sigmadsp.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-sgtl5000.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-rt715.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-rt711.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-rt700.ko] undefined!
>> ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-rt5659.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-rt1308-sdw.ko] undefined!
>> ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-rl6231.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-rk3328.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm512x-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm512x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm3168a-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm3168a-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm3168a.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm3060-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm3060-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm3060.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm186x-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm186x-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm186x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm179x-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm179x-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-pcm179x-codec.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-nau8822.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-nau8810.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-nau8540.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-nau8315.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-msm8916-digital.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-msm8916-analog.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-max98390.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-max98373-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-max98373.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-max98927.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-max98357a.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-max9759.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-lochnagar-sc.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-inno-rk3036.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-es8328-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-es8328.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-es7241.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-dmic.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-da7219.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-da7213.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cx2072x.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs53l30.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs4349.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs4341.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs4271-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs4271-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs4271.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs4270.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs4234.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs42l73.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs42l56.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs42l52.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs42l51-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs42l51.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs42l42.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs35l36.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs35l35.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs35l34.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs35l33.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cs35l32.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cros-ec-codec.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-cpcap.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-bt-sco.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-bd28623.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-alc5623.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-ak4642.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-ak4554.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-ak4458.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-ak4104.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-adau7118-hw.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-adau7118-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-adau7118.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-adau7002.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-adau1761-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-adau1761.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-adau17x1.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-adau1701.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-adau1372-spi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-adau1372-i2c.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-adau1372.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-adau-utils.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/codecs/snd-soc-ac97.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/soc/snd-soc-core.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/usb/line6/snd-usb-variax.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/usb/line6/snd-usb-toneport.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/usb/line6/snd-usb-podhd.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/usb/line6/snd-usb-line6.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/usb/hiface/snd-usb-hiface.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/usb/6fire/snd-usb-6fire.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/usb/misc/snd-ua101.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/usb/snd-usbmidi-lib.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/usb/snd-usb-audio.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/pci/ac97/snd-ac97-codec.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/core/snd-compress.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/core/seq/snd-seq-midi-event.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/core/seq/snd-seq-midi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/core/seq/snd-seq-dummy.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/core/seq/snd-seq.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/core/snd-rawmidi.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/core/snd-seq-device.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/core/snd-pcm-dmaengine.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/core/snd-pcm.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/core/snd-timer.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/core/snd-hwdep.ko] undefined!
ERROR: modpost: "__aeabi_unwind_cpp_pr0" [sound/core/snd.ko] undefined!
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months
[hare-scsi-devel:virtio-vfc.v6 2/5] drivers/scsi/virtio_scsi.c:780:8: error: implicit declaration of function 'virtscsi_kick_cmd'; did you mean
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git virtio-vfc.v6
head: 7e3ab9aac391a4fb2aef468332128900bdef8df6
commit: d5a2b439cfd4818e84e84c43c7e499d258af4500 [2/5] virtio-scsi: implement target rescan
config: h8300-randconfig-r031-20210314 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.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/hare/scsi-devel.git/commi...
git remote add hare-scsi-devel https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git
git fetch --no-tags hare-scsi-devel virtio-vfc.v6
git checkout d5a2b439cfd4818e84e84c43c7e499d258af4500
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from include/linux/kernel.h:10,
from include/linux/list.h:9,
from include/linux/module.h:12,
from drivers/scsi/virtio_scsi.c:15:
include/linux/scatterlist.h: In function 'sg_set_buf':
include/asm-generic/page.h:93:50: warning: ordered comparison of pointer with null pointer [-Wextra]
93 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && \
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/scatterlist.h:137:2: note: in expansion of macro 'BUG_ON'
137 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~
include/linux/scatterlist.h:137:10: note: in expansion of macro 'virt_addr_valid'
137 | BUG_ON(!virt_addr_valid(buf));
| ^~~~~~~~~~~~~~~
drivers/scsi/virtio_scsi.c: In function 'virtscsi_rescan_work':
>> drivers/scsi/virtio_scsi.c:780:8: error: implicit declaration of function 'virtscsi_kick_cmd'; did you mean 'virtscsi_kick_vq'? [-Werror=implicit-function-declaration]
780 | ret = virtscsi_kick_cmd(&vscsi->ctrl_vq, cmd, sizeof(cmd->req.rescan),
| ^~~~~~~~~~~~~~~~~
| virtscsi_kick_vq
drivers/scsi/virtio_scsi.c: At top level:
>> drivers/scsi/virtio_scsi.c:874:5: warning: no previous prototype for 'virtscsi_scan_finished' [-Wmissing-prototypes]
874 | int virtscsi_scan_finished(struct Scsi_Host *sh, unsigned long time)
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +780 drivers/scsi/virtio_scsi.c
752
753 static void virtscsi_rescan_work(struct work_struct *work)
754 {
755 struct virtio_scsi *vscsi =
756 container_of(work, struct virtio_scsi, rescan_work);
757 struct Scsi_Host *sh = virtio_scsi_host(vscsi->vdev);
758 int target_id, ret, transport;
759 struct virtio_scsi_cmd *cmd = &vscsi->rescan_cmd;
760 DECLARE_COMPLETION_ONSTACK(comp);
761
762 spin_lock_irq(&vscsi->rescan_lock);
763 target_id = vscsi->next_target_id;
764 if (target_id == -1) {
765 dev_dbg(&sh->shost_gendev, "rescan: terminated\n");
766 spin_unlock_irq(&vscsi->rescan_lock);
767 return;
768 }
769 spin_unlock_irq(&vscsi->rescan_lock);
770
771 dev_dbg(&sh->shost_gendev, "rescan: next target %d\n", target_id);
772 memset(cmd, 0, sizeof(*cmd));
773 cmd->comp = ∁
774 cmd->sc = NULL;
775 cmd->req.rescan = (struct virtio_scsi_rescan_req){
776 .type = VIRTIO_SCSI_T_RESCAN,
777 .next_id = cpu_to_virtio32(vscsi->vdev, target_id),
778 };
779
> 780 ret = virtscsi_kick_cmd(&vscsi->ctrl_vq, cmd, sizeof(cmd->req.rescan),
781 sizeof(cmd->resp.rescan));
782 if (ret < 0) {
783 spin_lock_irq(&vscsi->rescan_lock);
784 vscsi->next_target_id = -1;
785 spin_unlock_irq(&vscsi->rescan_lock);
786 dev_dbg(&sh->shost_gendev, "rescan: failed to sent command\n");
787 sh->sequential_scan = true;
788 scsi_scan_host(sh);
789 return;
790 }
791
792 wait_for_completion(&comp);
793 target_id = virtio32_to_cpu(vscsi->vdev, cmd->resp.rescan.id);
794 if (target_id == -1) {
795 dev_dbg(&sh->shost_gendev, "rescan: no more targets\n");
796 spin_lock_irq(&vscsi->rescan_lock);
797 vscsi->next_target_id = -1;
798 spin_unlock_irq(&vscsi->rescan_lock);
799 return;
800 }
801 transport = virtio32_to_cpu(vscsi->vdev, cmd->resp.rescan.transport);
802 spin_lock_irq(&vscsi->rescan_lock);
803 vscsi->next_target_id = target_id + 1;
804 spin_unlock_irq(&vscsi->rescan_lock);
805 shost_printk(KERN_INFO, sh,
806 "found %s target %d (WWN %*phN)\n",
807 transport == SCSI_PROTOCOL_FCP ? "FC" : "SAS",
808 target_id, 8, cmd->resp.rescan.port_wwn);
809 scsi_scan_target(&sh->shost_gendev, 0, target_id,
810 SCAN_WILD_CARD, SCSI_SCAN_INITIAL);
811 queue_work(system_freezable_wq, &vscsi->rescan_work);
812 return;
813 }
814
815 static int virtscsi_scan_host(struct virtio_scsi *vscsi)
816 {
817 struct Scsi_Host *sh = virtio_scsi_host(vscsi->vdev);
818 int ret, transport;
819 struct virtio_scsi_cmd *cmd = &vscsi->rescan_cmd;
820 DECLARE_COMPLETION_ONSTACK(comp);
821
822 dev_dbg(&sh->shost_gendev, "rescan: scan host\n");
823 memset(cmd, 0, sizeof(*cmd));
824 cmd->comp = ∁
825 cmd->sc = NULL;
826 cmd->req.rescan = (struct virtio_scsi_rescan_req){
827 .type = VIRTIO_SCSI_T_RESCAN,
828 .next_id = cpu_to_virtio32(vscsi->vdev, -1),
829 };
830
831 ret = virtscsi_kick_cmd(&vscsi->ctrl_vq, cmd, sizeof(cmd->req.rescan),
832 sizeof(cmd->resp.rescan));
833 if (ret < 0)
834 return ret;
835
836 wait_for_completion(&comp);
837 if (cmd->resp.rescan.id != -1) {
838 dev_dbg(&sh->shost_gendev, "rescan: invalid target id\n");
839 return -ENOSYS;
840 }
841 transport = virtio32_to_cpu(vscsi->vdev, cmd->resp.rescan.transport);
842 shost_printk(KERN_INFO, sh, "%s host wwnn %*phN wwpn %*phN\n",
843 transport == SCSI_PROTOCOL_FCP ? "FC" : "SAS",
844 8, cmd->resp.rescan.node_wwn,
845 8, cmd->resp.rescan.port_wwn);
846 return 0;
847 }
848
849 static void virtscsi_scan_start(struct Scsi_Host *sh)
850 {
851 struct virtio_scsi *vscsi = shost_priv(sh);
852
853 if (!sh->sequential_scan && virtscsi_scan_host(vscsi) < 0) {
854 shost_printk(KERN_INFO, sh,
855 "rescan: use sequential scan\n");
856 sh->sequential_scan = true;
857 }
858 if (sh->sequential_scan) {
859 scsi_scan_host(sh);
860 return;
861 }
862 spin_lock_irq(&vscsi->rescan_lock);
863 if (vscsi->next_target_id != -1) {
864 dev_dbg(&sh->shost_gendev, "rescan: already running\n");
865 spin_unlock_irq(&vscsi->rescan_lock);
866 return;
867 }
868 vscsi->next_target_id = 0;
869 dev_dbg(&sh->shost_gendev, "rescan: start\n");
870 spin_unlock_irq(&vscsi->rescan_lock);
871 queue_work(system_freezable_wq, &vscsi->rescan_work);
872 }
873
> 874 int virtscsi_scan_finished(struct Scsi_Host *sh, unsigned long time)
875 {
876 struct virtio_scsi *vscsi = shost_priv(sh);
877 int ret = 1;
878
879 spin_lock_irq(&vscsi->rescan_lock);
880 if (vscsi->next_target_id != -1)
881 ret = 0;
882 spin_unlock_irq(&vscsi->rescan_lock);
883 if (!ret)
884 flush_work(&vscsi->rescan_work);
885
886 dev_dbg(&sh->shost_gendev, "rescan: %sfinished\n",
887 ret ? "" : "not ");
888 return ret;
889 }
890
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 6 months