Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
Linux-Kernel Archive: [PATCH 5.15 038/106] MIPS: Loongson-3: fix compile mips cpu_hwmon as module build error. [PATCH 5.15 038/106] MIPS: Loongson-3: fix compile mips cpu_hwmon as module build error. From: Greg Kroah-Hartman Date: Mon Jun 20 2022 - 09:25:22 EST Next message: Greg Kroah-Hartman: "[PATCH 5.15 039/106] random: credit cpu and bootloader seeds by default" Previous message: Greg Kroah-Hartman: "[PATCH 5.15 074/106] i2c: npcm7xx: Add check for platform_driver_register" In reply to: Greg Kroah-Hartman: "[PATCH 5.15 074/106] i2c: npcm7xx: Add check for platform_driver_register" Next in thread: Greg Kroah-Hartman: "[PATCH 5.15 039/106] random: credit cpu and bootloader seeds by default" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] From: Yupeng Li [ Upstream commit 41e456400212803704e82691716e1d7b0865114a ] set cpu_hwmon as a module build with loongson_sysconf, loongson_chiptemp undefined error,fix cpu_hwmon compile options to be bool.Some kernel compilation error information is as follows: Checking missing-syscalls for N32 CALL scripts/checksyscalls.sh Checking missing-syscalls for O32 CALL scripts/checksyscalls.sh CALL scripts/checksyscalls.sh CHK include/generated/compile.h CC [M] drivers/platform/mips/cpu_hwmon.o Building modules, stage 2. MODPOST 200 modules ERROR: "loongson_sysconf" [drivers/platform/mips/cpu_hwmon.ko] undefined! ERROR: "loongson_chiptemp" [drivers/platform/mips/cpu_hwmon.ko] undefined! make[1]: *** [scripts/Makefile.modpost:92:__modpost] 错误 1 make: *** [Makefile:1261:modules] 错误 2 Signed-off-by: Yupeng Li Reviewed-by: Guenter Roeck Reviewed-by: Huacai Chen Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- drivers/platform/mips/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/mips/Kconfig b/drivers/platform/mips/Kconfig index 8ac149173c64..495da331ca2d 100644 --- a/drivers/platform/mips/Kconfig +++ b/drivers/platform/mips/Kconfig @@ -17,7 +17,7 @@ menuconfig MIPS_PLATFORM_DEVICES if MIPS_PLATFORM_DEVICES config CPU_HWMON - tristate "Loongson-3 CPU HWMon Driver" + bool "Loongson-3 CPU HWMon Driver" depends on MACH_LOONGSON64 select HWMON default y -- 2.35.1 Next message: Greg Kroah-Hartman: "[PATCH 5.15 039/106] random: credit cpu and bootloader seeds by default" Previous message: Greg Kroah-Hartman: "[PATCH 5.15 074/106] i2c: npcm7xx: Add check for platform_driver_register" In reply to: Greg Kroah-Hartman: "[PATCH 5.15 074/106] i2c: npcm7xx: Add check for platform_driver_register" Next in thread: Greg Kroah-Hartman: "[PATCH 5.15 039/106] random: credit cpu and bootloader seeds by default" Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]