========== build_allmodconfig_warn - FAILED ../drivers/net/phy/realtek_hwmon.c:3:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘support’ 3 | * HWMON support for Realtek PHY's | ^~~~~~~ ../drivers/net/phy/realtek_hwmon.c:3:33: warning: missing terminating ' character 3 | * HWMON support for Realtek PHY's | ^ ../drivers/net/phy/realtek_hwmon.c:3:33: error: missing terminating ' character 3 | * HWMON support for Realtek PHY's | ^~ ../drivers/net/phy/realtek_hwmon.c:5:39: error: stray ‘@’ in program 5 | * Author: Heiner Kallweit | ^ In file included from ../include/uapi/asm-generic/types.h:7, from ./arch/x86/include/generated/uapi/asm/types.h:1, from ../include/linux/bitops.h:5, from ../include/linux/hwmon.h:15, from ../drivers/net/phy/realtek_hwmon.c:8: ../include/asm-generic/int-ll64.h:16:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 16 | typedef __s8 s8; | ^~~~ | __u8 In file included from ../include/linux/kernel.h:27, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:80, from ../include/linux/irqflags.h:18, from ../include/linux/spinlock.h:59, from ../include/linux/phy.h:15, from ../drivers/net/phy/realtek_hwmon.c:9: ../include/linux/math.h:112:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 112 | __##type numerator; \ | ^~ ../include/linux/math.h:115:1: note: in expansion of macro ‘__STRUCT_FRACT’ 115 | __STRUCT_FRACT(s8) | ^~~~~~~~~~~~~~ ../include/linux/math.h:113:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 113 | __##type denominator; \ | ^~ ../include/linux/math.h:115:1: note: in expansion of macro ‘__STRUCT_FRACT’ 115 | __STRUCT_FRACT(s8) | ^~~~~~~~~~~~~~ In file included from ../include/linux/quota.h:42, from ../include/linux/fs.h:271, from ../include/linux/compat.h:17, from ../include/linux/ethtool.h:17, from ../include/linux/phy.h:16: ../include/uapi/linux/dqblk_xfs.h:54:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 54 | __s8 d_version; /* version of this structure */ | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:55:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 55 | __s8 d_flags; /* FS_{USER,PROJ,GROUP}_QUOTA */ | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:70:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 70 | __s8 d_itimer_hi; /* upper 8 bits of timer values */ | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:71:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 71 | __s8 d_btimer_hi; | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:72:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 72 | __s8 d_rtbtimer_hi; | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:73:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 73 | __s8 d_padding2; /* padding2 - for future use */ | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:166:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 166 | __s8 qs_version; /* version number for future changes */ | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:168:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 168 | __s8 qs_pad; /* unused */ | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:210:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 210 | __s8 qs_version; /* version for future changes */ | ^~~~ | __u8 In file included from ../include/linux/ethtool.h:20: ../include/uapi/linux/ethtool.h:2523:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 2523 | __s8 link_mode_masks_nwords; | ^~~~ | __u8 make[6]: *** [../scripts/Makefile.build:194: drivers/net/phy/realtek_hwmon.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [../scripts/Makefile.build:440: drivers/net/phy] Error 2 make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o ../arch/x86/boot/version.c:18:12: warning: symbol 'kernel_version' was not declared. Should it be static? ../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit ../kernel/sys.c:1111:32: warning: incorrect type in argument 1 (different address spaces) ../kernel/sys.c:1111:32: expected struct task_struct *p1 ../kernel/sys.c:1111:32: got struct task_struct [noderef] __rcu *real_parent ../kernel/sys.c:1858:33: warning: context imbalance in 'getrusage' - different lock contexts for basic block ../drivers/net/phy/realtek_hwmon.c:3:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘support’ 3 | * HWMON support for Realtek PHY's | ^~~~~~~ ../drivers/net/phy/realtek_hwmon.c:3:33: warning: missing terminating ' character 3 | * HWMON support for Realtek PHY's | ^ ../drivers/net/phy/realtek_hwmon.c:3:33: error: missing terminating ' character 3 | * HWMON support for Realtek PHY's | ^~ ../drivers/net/phy/realtek_hwmon.c:5:39: error: stray ‘@’ in program 5 | * Author: Heiner Kallweit | ^ In file included from ../include/uapi/asm-generic/types.h:7, from ./arch/x86/include/generated/uapi/asm/types.h:1, from ../include/linux/bitops.h:5, from ../include/linux/hwmon.h:15, from ../drivers/net/phy/realtek_hwmon.c:8: ../include/asm-generic/int-ll64.h:16:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 16 | typedef __s8 s8; | ^~~~ | __u8 In file included from ../include/linux/kernel.h:27, from ../include/linux/cpumask.h:11, from ../arch/x86/include/asm/paravirt.h:21, from ../arch/x86/include/asm/irqflags.h:80, from ../include/linux/irqflags.h:18, from ../include/linux/spinlock.h:59, from ../include/linux/phy.h:15, from ../drivers/net/phy/realtek_hwmon.c:9: ../include/linux/math.h:112:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 112 | __##type numerator; \ | ^~ ../include/linux/math.h:115:1: note: in expansion of macro ‘__STRUCT_FRACT’ 115 | __STRUCT_FRACT(s8) | ^~~~~~~~~~~~~~ ../include/linux/math.h:113:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 113 | __##type denominator; \ | ^~ ../include/linux/math.h:115:1: note: in expansion of macro ‘__STRUCT_FRACT’ 115 | __STRUCT_FRACT(s8) | ^~~~~~~~~~~~~~ In file included from ../include/linux/quota.h:42, from ../include/linux/fs.h:271, from ../include/linux/compat.h:17, from ../include/linux/ethtool.h:17, from ../include/linux/phy.h:16: ../include/uapi/linux/dqblk_xfs.h:54:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 54 | __s8 d_version; /* version of this structure */ | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:55:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 55 | __s8 d_flags; /* FS_{USER,PROJ,GROUP}_QUOTA */ | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:70:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 70 | __s8 d_itimer_hi; /* upper 8 bits of timer values */ | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:71:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 71 | __s8 d_btimer_hi; | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:72:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 72 | __s8 d_rtbtimer_hi; | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:73:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 73 | __s8 d_padding2; /* padding2 - for future use */ | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:166:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 166 | __s8 qs_version; /* version number for future changes */ | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:168:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 168 | __s8 qs_pad; /* unused */ | ^~~~ | __u8 ../include/uapi/linux/dqblk_xfs.h:210:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 210 | __s8 qs_version; /* version for future changes */ | ^~~~ | __u8 In file included from ../include/linux/ethtool.h:20: ../include/uapi/linux/ethtool.h:2523:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? 2523 | __s8 link_mode_masks_nwords; | ^~~~ | __u8 make[6]: *** [../scripts/Makefile.build:194: drivers/net/phy/realtek_hwmon.o] Error 1 make[5]: *** [../scripts/Makefile.build:440: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c: note: in included file (through ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu.h, ../drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.h): ../drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:414:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.fouhJx27YF 2025-01-10 08:56:36.621854321 -0800 +++ /tmp/tmp.u5Mvckkvw5 2025-01-10 08:56:59.259613225 -0800 @@ -0,0 +1 @@ +../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit @@ -5 +6,92 @@ -../drivers/base/firmware_loader/main.c:229:9: warning: context imbalance in 'free_fw_priv' - wrong count at exit +../drivers/net/phy/realtek_hwmon.c:3:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘support’ + 3 | * HWMON support for Realtek PHY's + | ^~~~~~~ +../drivers/net/phy/realtek_hwmon.c:3:33: warning: missing terminating ' character + 3 | * HWMON support for Realtek PHY's + | ^ +../drivers/net/phy/realtek_hwmon.c:3:33: error: missing terminating ' character + 3 | * HWMON support for Realtek PHY's + | ^~ +../drivers/net/phy/realtek_hwmon.c:5:39: error: stray ‘@’ in program + 5 | * Author: Heiner Kallweit + | ^ +In file included from ../include/uapi/asm-generic/types.h:7, + from ./arch/x86/include/generated/uapi/asm/types.h:1, + from ../include/linux/bitops.h:5, + from ../include/linux/hwmon.h:15, + from ../drivers/net/phy/realtek_hwmon.c:8: +../include/asm-generic/int-ll64.h:16:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 16 | typedef __s8 s8; + | ^~~~ + | __u8 +In file included from ../include/linux/kernel.h:27, + from ../include/linux/cpumask.h:11, + from ../arch/x86/include/asm/paravirt.h:21, + from ../arch/x86/include/asm/irqflags.h:80, + from ../include/linux/irqflags.h:18, + from ../include/linux/spinlock.h:59, + from ../include/linux/phy.h:15, + from ../drivers/net/phy/realtek_hwmon.c:9: +../include/linux/math.h:112:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 112 | __##type numerator; \ + | ^~ +../include/linux/math.h:115:1: note: in expansion of macro ‘__STRUCT_FRACT’ + 115 | __STRUCT_FRACT(s8) + | ^~~~~~~~~~~~~~ +../include/linux/math.h:113:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 113 | __##type denominator; \ + | ^~ +../include/linux/math.h:115:1: note: in expansion of macro ‘__STRUCT_FRACT’ + 115 | __STRUCT_FRACT(s8) + | ^~~~~~~~~~~~~~ +In file included from ../include/linux/quota.h:42, + from ../include/linux/fs.h:271, + from ../include/linux/compat.h:17, + from ../include/linux/ethtool.h:17, + from ../include/linux/phy.h:16: +../include/uapi/linux/dqblk_xfs.h:54:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 54 | __s8 d_version; /* version of this structure */ + | ^~~~ + | __u8 +../include/uapi/linux/dqblk_xfs.h:55:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 55 | __s8 d_flags; /* FS_{USER,PROJ,GROUP}_QUOTA */ + | ^~~~ + | __u8 +../include/uapi/linux/dqblk_xfs.h:70:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 70 | __s8 d_itimer_hi; /* upper 8 bits of timer values */ + | ^~~~ + | __u8 +../include/uapi/linux/dqblk_xfs.h:71:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 71 | __s8 d_btimer_hi; + | ^~~~ + | __u8 +../include/uapi/linux/dqblk_xfs.h:72:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 72 | __s8 d_rtbtimer_hi; + | ^~~~ + | __u8 +../include/uapi/linux/dqblk_xfs.h:73:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 73 | __s8 d_padding2; /* padding2 - for future use */ + | ^~~~ + | __u8 +../include/uapi/linux/dqblk_xfs.h:166:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 166 | __s8 qs_version; /* version number for future changes */ + | ^~~~ + | __u8 +../include/uapi/linux/dqblk_xfs.h:168:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 168 | __s8 qs_pad; /* unused */ + | ^~~~ + | __u8 +../include/uapi/linux/dqblk_xfs.h:210:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 210 | __s8 qs_version; /* version for future changes */ + | ^~~~ + | __u8 +In file included from ../include/linux/ethtool.h:20: +../include/uapi/linux/ethtool.h:2523:9: error: unknown type name ‘__s8’; did you mean ‘__u8’? + 2523 | __s8 link_mode_masks_nwords; + | ^~~~ + | __u8 +make[6]: *** [../scripts/Makefile.build:194: drivers/net/phy/realtek_hwmon.o] Error 1 +make[5]: *** [../scripts/Makefile.build:440: drivers/net/phy] Error 2 +make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... @@ -8 +100,5 @@ -WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/staging/gpib/fmh_gpib/fmh_gpib.o +make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 +make[3]: *** Waiting for unfinished jobs.... +make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 +make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 +make: *** [Makefile:251: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.0riZVu4ciF 2025-01-10 08:56:59.266613151 -0800 +++ /tmp/tmp.TeGaI6mPTb 2025-01-10 08:56:59.269613119 -0800 @@ -2,0 +3,5 @@ + 4 ../drivers/net/phy/realtek_hwmon.c + 1 ../include/asm-generic/int-ll64.h + 2 ../include/linux/math.h + 9 ../include/uapi/linux/dqblk_xfs.h + 1 ../include/uapi/linux/ethtool.h