* [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 @ 2022-05-19 0:55 ` kernel test robot 0 siblings, 0 replies; 16+ messages in thread From: kernel test robot @ 2022-05-19 0:55 UTC (permalink / raw) To: Andrew Morton Cc: linux-staging, linux-omap, linux-nvme, linux-hwmon, linux-fbdev, kvm, dri-devel, amd-gfx, Linux Memory Management List tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 Add linux-next specific files for 20220518 Error/Warning reports: https://lore.kernel.org/linux-mm/202204291924.vTGZmerI-lkp@intel.com https://lore.kernel.org/linux-mm/202205041248.WgCwPcEV-lkp@intel.com https://lore.kernel.org/linux-mm/202205122113.uLKzd3SZ-lkp@intel.com https://lore.kernel.org/linux-mm/202205172344.3GFeaum1-lkp@intel.com https://lore.kernel.org/linux-mm/202205190527.o9wVEvHI-lkp@intel.com Error/Warning: (recently discovered and may have been fixed) <command-line>: fatal error: ./include/generated/utsrelease.h: No such file or directory arch/x86/kvm/pmu.h:20:32: warning: 'vmx_icl_pebs_cpu' defined but not used [-Wunused-const-variable=] csky-linux-ld: (.text+0x1bc): undefined reference to `blkcg_get_fc_appid' drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c:1364:5: warning: no previous prototype for 'amdgpu_discovery_get_mall_info' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/soc21.c:171:6: warning: no previous prototype for 'soc21_grbm_select' [-Wmissing-prototypes] drivers/gpu/drm/solomon/ssd130x-spi.c:154:35: warning: 'ssd130x_spi_table' defined but not used [-Wunused-const-variable=] drivers/hwmon/nct6775-platform.c:199:9: sparse: unsigned char drivers/hwmon/nct6775-platform.c:199:9: sparse: void drivers/nvme/host/fc.c:1914: undefined reference to `blkcg_get_fc_appid' drivers/video/fbdev/omap/hwa742.c:492:5: warning: no previous prototype for 'hwa742_update_window_async' [-Wmissing-prototypes] Unverified Error/Warning (likely false positive, please contact us if interested): Makefile:686: arch/h8300/Makefile: No such file or directory arch/Kconfig:10: can't open file "arch/h8300/Kconfig" drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:5102:14: warning: variable 'allow_lttpr_non_transparent_mode' set but not used [-Wunused-but-set-variable] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:5147:6: warning: no previous prototype for 'dp_parse_lttpr_mode' [-Wmissing-prototypes] drivers/gpu/drm/bridge/adv7511/adv7511.h:229:17: warning: 'ADV7511_REG_CEC_RX_FRAME_HDR' defined but not used [-Wunused-const-variable=] drivers/gpu/drm/bridge/adv7511/adv7511.h:235:17: warning: 'ADV7511_REG_CEC_RX_FRAME_LEN' defined but not used [-Wunused-const-variable=] drivers/staging/vt6655/card.c:759:16: sparse: sparse: cast to restricted __le64 make[1]: *** No rule to make target 'arch/h8300/Makefile'. {standard input}:1991: Error: unknown pseudo-op: `.lc' Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- alpha-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- arc-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- arc-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- arm-allmodconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-video-fbdev-omap-hwa742.c:warning:no-previous-prototype-for-hwa742_update_window_async |-- arm-allyesconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-video-fbdev-omap-hwa742.c:warning:no-previous-prototype-for-hwa742_update_window_async |-- arm64-allmodconfig | `-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory |-- arm64-allyesconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- csky-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- csky-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- csky-buildonly-randconfig-r004-20220518 | `-- csky-linux-ld:(.text):undefined-reference-to-blkcg_get_fc_appid |-- h8300-allmodconfig | |-- Makefile:arch-h8300-Makefile:No-such-file-or-directory | |-- arch-Kconfig:can-t-open-file-arch-h8300-Kconfig | `-- make:No-rule-to-make-target-arch-h8300-Makefile-. |-- h8300-allyesconfig | |-- Makefile:arch-h8300-Makefile:No-such-file-or-directory | |-- arch-Kconfig:can-t-open-file-arch-h8300-Kconfig | `-- make:No-rule-to-make-target-arch-h8300-Makefile-. |-- h8300-buildonly-randconfig-r002-20220518 | |-- Makefile:arch-h8300-Makefile:No-such-file-or-directory | |-- arch-Kconfig:can-t-open-file-arch-h8300-Kconfig | `-- make:No-rule-to-make-target-arch-h8300-Makefile-. |-- i386-allmodconfig | |-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | |-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_HDR-defined-but-not-used | `-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_LEN-defined-but-not-used |-- i386-allyesconfig | |-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | |-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_HDR-defined-but-not-used | |-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_LEN-defined-but-not-used | `-- drivers-gpu-drm-solomon-ssd13-spi.c:warning:ssd13_spi_table-defined-but-not-used |-- i386-debian-10.3 | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- i386-debian-10.3-kselftests | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- ia64-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- ia64-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- m68k-allmodconfig | |-- drivers-hwmon-nct6775-platform.c:sparse:sparse:incompatible-types-in-conditional-expression-(different-base-types): | |-- drivers-hwmon-nct6775-platform.c:sparse:unsigned-char | `-- drivers-hwmon-nct6775-platform.c:sparse:void |-- m68k-allyesconfig | |-- drivers-hwmon-nct6775-platform.c:sparse:sparse:incompatible-types-in-conditional-expression-(different-base-types): | |-- drivers-hwmon-nct6775-platform.c:sparse:unsigned-char | `-- drivers-hwmon-nct6775-platform.c:sparse:void |-- mips-allmodconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- mips-allyesconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- parisc-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- parisc-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- parisc-buildonly-randconfig-r004-20220518 | `-- drivers-nvme-host-fc.c:undefined-reference-to-blkcg_get_fc_appid |-- powerpc-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- powerpc-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- riscv-allmodconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- riscv-allyesconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- s390-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- sh-allmodconfig | `-- standard-input:Error:unknown-pseudo-op:lc |-- sh-allyesconfig | `-- standard-input:Error:unknown-pseudo-op:lc |-- sparc-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- sparc-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- x86_64-allmodconfig | |-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | |-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_HDR-defined-but-not-used | `-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_LEN-defined-but-not-used |-- x86_64-allyesconfig | |-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | |-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_HDR-defined-but-not-used | |-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_LEN-defined-but-not-used | `-- drivers-gpu-drm-solomon-ssd13-spi.c:warning:ssd13_spi_table-defined-but-not-used |-- x86_64-kexec | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- x86_64-rhel-8.3 | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- x86_64-rhel-8.3-func | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- x86_64-rhel-8.3-kselftests | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- x86_64-rhel-8.3-kunit | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- x86_64-rhel-8.3-syz | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- xtensa-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- xtensa-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select `-- xtensa-buildonly-randconfig-r003-20220518 |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select elapsed time: 726m configs tested: 60 configs skipped: 3 gcc tested configs: arm allmodconfig arm allyesconfig arm defconfig arm64 defconfig arm64 allyesconfig i386 allyesconfig mips allyesconfig riscv allyesconfig um x86_64_defconfig riscv allmodconfig um i386_defconfig mips allmodconfig s390 allmodconfig m68k allyesconfig m68k allmodconfig powerpc allyesconfig powerpc allmodconfig s390 allyesconfig parisc allyesconfig sh allmodconfig h8300 allyesconfig xtensa allyesconfig alpha allyesconfig nios2 allyesconfig arc allyesconfig arm pxa910_defconfig sh sh2007_defconfig mips capcella_defconfig m68k m5307c3_defconfig ia64 defconfig ia64 allmodconfig ia64 allyesconfig m68k defconfig nios2 defconfig alpha defconfig csky defconfig arc defconfig parisc defconfig s390 defconfig parisc64 defconfig i386 debian-10.3-kselftests i386 debian-10.3 i386 defconfig sparc allyesconfig sparc defconfig powerpc allnoconfig riscv allnoconfig riscv nommu_k210_defconfig riscv rv32_defconfig riscv nommu_virt_defconfig riscv defconfig x86_64 defconfig x86_64 allyesconfig x86_64 rhel-8.3-kselftests x86_64 kexec x86_64 rhel-8.3-syz x86_64 rhel-8.3-func x86_64 rhel-8.3 x86_64 rhel-8.3-kunit clang tested configs: powerpc icon_defconfig -- 0-DAY CI Kernel Test Service https://01.org/lkp ^ permalink raw reply [flat|nested] 16+ messages in thread
* [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 @ 2022-05-19 0:55 ` kernel test robot 0 siblings, 0 replies; 16+ messages in thread From: kernel test robot @ 2022-05-19 0:55 UTC (permalink / raw) To: Andrew Morton Cc: linux-hwmon, linux-fbdev, amd-gfx, kvm, linux-staging, linux-nvme, Linux Memory Management List, dri-devel, linux-omap tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 Add linux-next specific files for 20220518 Error/Warning reports: https://lore.kernel.org/linux-mm/202204291924.vTGZmerI-lkp@intel.com https://lore.kernel.org/linux-mm/202205041248.WgCwPcEV-lkp@intel.com https://lore.kernel.org/linux-mm/202205122113.uLKzd3SZ-lkp@intel.com https://lore.kernel.org/linux-mm/202205172344.3GFeaum1-lkp@intel.com https://lore.kernel.org/linux-mm/202205190527.o9wVEvHI-lkp@intel.com Error/Warning: (recently discovered and may have been fixed) <command-line>: fatal error: ./include/generated/utsrelease.h: No such file or directory arch/x86/kvm/pmu.h:20:32: warning: 'vmx_icl_pebs_cpu' defined but not used [-Wunused-const-variable=] csky-linux-ld: (.text+0x1bc): undefined reference to `blkcg_get_fc_appid' drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c:1364:5: warning: no previous prototype for 'amdgpu_discovery_get_mall_info' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/soc21.c:171:6: warning: no previous prototype for 'soc21_grbm_select' [-Wmissing-prototypes] drivers/gpu/drm/solomon/ssd130x-spi.c:154:35: warning: 'ssd130x_spi_table' defined but not used [-Wunused-const-variable=] drivers/hwmon/nct6775-platform.c:199:9: sparse: unsigned char drivers/hwmon/nct6775-platform.c:199:9: sparse: void drivers/nvme/host/fc.c:1914: undefined reference to `blkcg_get_fc_appid' drivers/video/fbdev/omap/hwa742.c:492:5: warning: no previous prototype for 'hwa742_update_window_async' [-Wmissing-prototypes] Unverified Error/Warning (likely false positive, please contact us if interested): Makefile:686: arch/h8300/Makefile: No such file or directory arch/Kconfig:10: can't open file "arch/h8300/Kconfig" drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:5102:14: warning: variable 'allow_lttpr_non_transparent_mode' set but not used [-Wunused-but-set-variable] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:5147:6: warning: no previous prototype for 'dp_parse_lttpr_mode' [-Wmissing-prototypes] drivers/gpu/drm/bridge/adv7511/adv7511.h:229:17: warning: 'ADV7511_REG_CEC_RX_FRAME_HDR' defined but not used [-Wunused-const-variable=] drivers/gpu/drm/bridge/adv7511/adv7511.h:235:17: warning: 'ADV7511_REG_CEC_RX_FRAME_LEN' defined but not used [-Wunused-const-variable=] drivers/staging/vt6655/card.c:759:16: sparse: sparse: cast to restricted __le64 make[1]: *** No rule to make target 'arch/h8300/Makefile'. {standard input}:1991: Error: unknown pseudo-op: `.lc' Error/Warning ids grouped by kconfigs: gcc_recent_errors |-- alpha-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- alpha-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- arc-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- arc-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- arm-allmodconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-video-fbdev-omap-hwa742.c:warning:no-previous-prototype-for-hwa742_update_window_async |-- arm-allyesconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-video-fbdev-omap-hwa742.c:warning:no-previous-prototype-for-hwa742_update_window_async |-- arm64-allmodconfig | `-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory |-- arm64-allyesconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- csky-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- csky-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- csky-buildonly-randconfig-r004-20220518 | `-- csky-linux-ld:(.text):undefined-reference-to-blkcg_get_fc_appid |-- h8300-allmodconfig | |-- Makefile:arch-h8300-Makefile:No-such-file-or-directory | |-- arch-Kconfig:can-t-open-file-arch-h8300-Kconfig | `-- make:No-rule-to-make-target-arch-h8300-Makefile-. |-- h8300-allyesconfig | |-- Makefile:arch-h8300-Makefile:No-such-file-or-directory | |-- arch-Kconfig:can-t-open-file-arch-h8300-Kconfig | `-- make:No-rule-to-make-target-arch-h8300-Makefile-. |-- h8300-buildonly-randconfig-r002-20220518 | |-- Makefile:arch-h8300-Makefile:No-such-file-or-directory | |-- arch-Kconfig:can-t-open-file-arch-h8300-Kconfig | `-- make:No-rule-to-make-target-arch-h8300-Makefile-. |-- i386-allmodconfig | |-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | |-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_HDR-defined-but-not-used | `-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_LEN-defined-but-not-used |-- i386-allyesconfig | |-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | |-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_HDR-defined-but-not-used | |-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_LEN-defined-but-not-used | `-- drivers-gpu-drm-solomon-ssd13-spi.c:warning:ssd13_spi_table-defined-but-not-used |-- i386-debian-10.3 | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- i386-debian-10.3-kselftests | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- ia64-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- ia64-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- m68k-allmodconfig | |-- drivers-hwmon-nct6775-platform.c:sparse:sparse:incompatible-types-in-conditional-expression-(different-base-types): | |-- drivers-hwmon-nct6775-platform.c:sparse:unsigned-char | `-- drivers-hwmon-nct6775-platform.c:sparse:void |-- m68k-allyesconfig | |-- drivers-hwmon-nct6775-platform.c:sparse:sparse:incompatible-types-in-conditional-expression-(different-base-types): | |-- drivers-hwmon-nct6775-platform.c:sparse:unsigned-char | `-- drivers-hwmon-nct6775-platform.c:sparse:void |-- mips-allmodconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- mips-allyesconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- parisc-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- parisc-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- parisc-buildonly-randconfig-r004-20220518 | `-- drivers-nvme-host-fc.c:undefined-reference-to-blkcg_get_fc_appid |-- powerpc-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- powerpc-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- riscv-allmodconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- riscv-allyesconfig | |-- command-line:fatal-error:.-include-generated-utsrelease.h:No-such-file-or-directory | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- s390-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- sh-allmodconfig | `-- standard-input:Error:unknown-pseudo-op:lc |-- sh-allyesconfig | `-- standard-input:Error:unknown-pseudo-op:lc |-- sparc-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- sparc-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | `-- drivers-staging-vt6655-card.c:sparse:sparse:cast-to-restricted-__le64 |-- x86_64-allmodconfig | |-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | |-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_HDR-defined-but-not-used | `-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_LEN-defined-but-not-used |-- x86_64-allyesconfig | |-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | |-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select | |-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_HDR-defined-but-not-used | |-- drivers-gpu-drm-bridge-adv7511-adv7511.h:warning:ADV7511_REG_CEC_RX_FRAME_LEN-defined-but-not-used | `-- drivers-gpu-drm-solomon-ssd13-spi.c:warning:ssd13_spi_table-defined-but-not-used |-- x86_64-kexec | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- x86_64-rhel-8.3 | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- x86_64-rhel-8.3-func | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- x86_64-rhel-8.3-kselftests | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- x86_64-rhel-8.3-kunit | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- x86_64-rhel-8.3-syz | `-- arch-x86-kvm-pmu.h:warning:vmx_icl_pebs_cpu-defined-but-not-used |-- xtensa-allmodconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select |-- xtensa-allyesconfig | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode | |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used | |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info | `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select `-- xtensa-buildonly-randconfig-r003-20220518 |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:no-previous-prototype-for-dp_parse_lttpr_mode |-- drivers-gpu-drm-amd-amdgpu-..-display-dc-core-dc_link_dp.c:warning:variable-allow_lttpr_non_transparent_mode-set-but-not-used |-- drivers-gpu-drm-amd-amdgpu-amdgpu_discovery.c:warning:no-previous-prototype-for-amdgpu_discovery_get_mall_info `-- drivers-gpu-drm-amd-amdgpu-soc21.c:warning:no-previous-prototype-for-soc21_grbm_select elapsed time: 726m configs tested: 60 configs skipped: 3 gcc tested configs: arm allmodconfig arm allyesconfig arm defconfig arm64 defconfig arm64 allyesconfig i386 allyesconfig mips allyesconfig riscv allyesconfig um x86_64_defconfig riscv allmodconfig um i386_defconfig mips allmodconfig s390 allmodconfig m68k allyesconfig m68k allmodconfig powerpc allyesconfig powerpc allmodconfig s390 allyesconfig parisc allyesconfig sh allmodconfig h8300 allyesconfig xtensa allyesconfig alpha allyesconfig nios2 allyesconfig arc allyesconfig arm pxa910_defconfig sh sh2007_defconfig mips capcella_defconfig m68k m5307c3_defconfig ia64 defconfig ia64 allmodconfig ia64 allyesconfig m68k defconfig nios2 defconfig alpha defconfig csky defconfig arc defconfig parisc defconfig s390 defconfig parisc64 defconfig i386 debian-10.3-kselftests i386 debian-10.3 i386 defconfig sparc allyesconfig sparc defconfig powerpc allnoconfig riscv allnoconfig riscv nommu_k210_defconfig riscv rv32_defconfig riscv nommu_virt_defconfig riscv defconfig x86_64 defconfig x86_64 allyesconfig x86_64 rhel-8.3-kselftests x86_64 kexec x86_64 rhel-8.3-syz x86_64 rhel-8.3-func x86_64 rhel-8.3 x86_64 rhel-8.3-kunit clang tested configs: powerpc icon_defconfig -- 0-DAY CI Kernel Test Service https://01.org/lkp ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 2022-05-19 0:55 ` kernel test robot @ 2022-05-19 3:41 ` Guenter Roeck -1 siblings, 0 replies; 16+ messages in thread From: Guenter Roeck @ 2022-05-19 3:41 UTC (permalink / raw) To: kernel test robot, Andrew Morton Cc: linux-staging, linux-omap, linux-nvme, linux-hwmon, linux-fbdev, kvm, dri-devel, amd-gfx, Linux Memory Management List On 5/18/22 17:55, kernel test robot wrote: > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > branch HEAD: 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 Add linux-next specific files for 20220518 > > Error/Warning reports: > > https://lore.kernel.org/linux-mm/202204291924.vTGZmerI-lkp@intel.com > https://lore.kernel.org/linux-mm/202205041248.WgCwPcEV-lkp@intel.com > https://lore.kernel.org/linux-mm/202205122113.uLKzd3SZ-lkp@intel.com > https://lore.kernel.org/linux-mm/202205172344.3GFeaum1-lkp@intel.com > https://lore.kernel.org/linux-mm/202205190527.o9wVEvHI-lkp@intel.com > > Error/Warning: (recently discovered and may have been fixed) > [ .. ] > drivers/hwmon/nct6775-platform.c:199:9: sparse: unsigned char > drivers/hwmon/nct6775-platform.c:199:9: sparse: void This is getting tiresome. Every driver using outb() on m68k will experience that "problem". As far as I can see, it is caused by #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b)) in arch/m68k/include/asm/raw_io.h. I have no idea what the "(void)" is for, but removing it "fixes" the problem. Either case, this is not a problem with the nct6775 driver, nor is it a new problem. Guenter ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 @ 2022-05-19 3:41 ` Guenter Roeck 0 siblings, 0 replies; 16+ messages in thread From: Guenter Roeck @ 2022-05-19 3:41 UTC (permalink / raw) To: kernel test robot, Andrew Morton Cc: linux-hwmon, linux-fbdev, amd-gfx, kvm, linux-staging, linux-nvme, Linux Memory Management List, dri-devel, linux-omap On 5/18/22 17:55, kernel test robot wrote: > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > branch HEAD: 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 Add linux-next specific files for 20220518 > > Error/Warning reports: > > https://lore.kernel.org/linux-mm/202204291924.vTGZmerI-lkp@intel.com > https://lore.kernel.org/linux-mm/202205041248.WgCwPcEV-lkp@intel.com > https://lore.kernel.org/linux-mm/202205122113.uLKzd3SZ-lkp@intel.com > https://lore.kernel.org/linux-mm/202205172344.3GFeaum1-lkp@intel.com > https://lore.kernel.org/linux-mm/202205190527.o9wVEvHI-lkp@intel.com > > Error/Warning: (recently discovered and may have been fixed) > [ .. ] > drivers/hwmon/nct6775-platform.c:199:9: sparse: unsigned char > drivers/hwmon/nct6775-platform.c:199:9: sparse: void This is getting tiresome. Every driver using outb() on m68k will experience that "problem". As far as I can see, it is caused by #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b)) in arch/m68k/include/asm/raw_io.h. I have no idea what the "(void)" is for, but removing it "fixes" the problem. Either case, this is not a problem with the nct6775 driver, nor is it a new problem. Guenter ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 2022-05-19 3:41 ` Guenter Roeck @ 2022-05-19 18:44 ` Andrew Morton -1 siblings, 0 replies; 16+ messages in thread From: Andrew Morton @ 2022-05-19 18:44 UTC (permalink / raw) To: Guenter Roeck Cc: kernel test robot, linux-staging, linux-omap, linux-nvme, linux-hwmon, linux-fbdev, kvm, dri-devel, amd-gfx, Linux Memory Management List, Geert Uytterhoeven On Wed, 18 May 2022 20:41:27 -0700 Guenter Roeck <linux@roeck-us.net> wrote: > On 5/18/22 17:55, kernel test robot wrote: > > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > branch HEAD: 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 Add linux-next specific files for 20220518 > > > > Error/Warning reports: > > > > https://lore.kernel.org/linux-mm/202204291924.vTGZmerI-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205041248.WgCwPcEV-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205122113.uLKzd3SZ-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205172344.3GFeaum1-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205190527.o9wVEvHI-lkp@intel.com > > > > Error/Warning: (recently discovered and may have been fixed) > > > [ .. ] > > drivers/hwmon/nct6775-platform.c:199:9: sparse: unsigned char > > drivers/hwmon/nct6775-platform.c:199:9: sparse: void > > This is getting tiresome. Every driver using outb() on m68k will > experience that "problem". As far as I can see, it is caused by > > #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b)) > > in arch/m68k/include/asm/raw_io.h. I have no idea what the > "(void)" is for, but removing it "fixes" the problem. > Either case, this is not a problem with the nct6775 driver, > nor is it a new problem. (cc Geert) ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 @ 2022-05-19 18:44 ` Andrew Morton 0 siblings, 0 replies; 16+ messages in thread From: Andrew Morton @ 2022-05-19 18:44 UTC (permalink / raw) To: Guenter Roeck Cc: linux-hwmon, linux-fbdev, amd-gfx, kernel test robot, kvm, linux-staging, linux-nvme, Linux Memory Management List, Geert Uytterhoeven, dri-devel, linux-omap On Wed, 18 May 2022 20:41:27 -0700 Guenter Roeck <linux@roeck-us.net> wrote: > On 5/18/22 17:55, kernel test robot wrote: > > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > branch HEAD: 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 Add linux-next specific files for 20220518 > > > > Error/Warning reports: > > > > https://lore.kernel.org/linux-mm/202204291924.vTGZmerI-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205041248.WgCwPcEV-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205122113.uLKzd3SZ-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205172344.3GFeaum1-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205190527.o9wVEvHI-lkp@intel.com > > > > Error/Warning: (recently discovered and may have been fixed) > > > [ .. ] > > drivers/hwmon/nct6775-platform.c:199:9: sparse: unsigned char > > drivers/hwmon/nct6775-platform.c:199:9: sparse: void > > This is getting tiresome. Every driver using outb() on m68k will > experience that "problem". As far as I can see, it is caused by > > #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b)) > > in arch/m68k/include/asm/raw_io.h. I have no idea what the > "(void)" is for, but removing it "fixes" the problem. > Either case, this is not a problem with the nct6775 driver, > nor is it a new problem. (cc Geert) ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 2022-05-19 3:41 ` Guenter Roeck @ 2022-05-20 12:40 ` Geert Uytterhoeven -1 siblings, 0 replies; 16+ messages in thread From: Geert Uytterhoeven @ 2022-05-20 12:40 UTC (permalink / raw) To: Guenter Roeck Cc: kernel test robot, Andrew Morton, linux-staging, open list:TI ETHERNET SWITCH DRIVER (CPSW), linux-nvme, linux-hwmon, Linux Fbdev development list, KVM list, DRI Development, amd-gfx list, Linux Memory Management List, Luc Van Oostenryck, linux-sparse, linux-m68k Hi Günter On Thu, May 19, 2022 at 8:48 AM Guenter Roeck <linux@roeck-us.net> wrote: > On 5/18/22 17:55, kernel test robot wrote: > > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > branch HEAD: 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 Add linux-next specific files for 20220518 > > > > Error/Warning reports: > > > > https://lore.kernel.org/linux-mm/202204291924.vTGZmerI-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205041248.WgCwPcEV-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205122113.uLKzd3SZ-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205172344.3GFeaum1-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205190527.o9wVEvHI-lkp@intel.com > > > > Error/Warning: (recently discovered and may have been fixed) > > > [ .. ] > > drivers/hwmon/nct6775-platform.c:199:9: sparse: unsigned char > > drivers/hwmon/nct6775-platform.c:199:9: sparse: void > > This is getting tiresome. Every driver using outb() on m68k will > experience that "problem". As far as I can see, it is caused by > > #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b)) > > in arch/m68k/include/asm/raw_io.h. I have no idea what the > "(void)" is for, The "(void)" makes sure there is no return value. Which matters if the result of a function returning void is propagated to another function returning void. > but removing it "fixes" the problem. This introduces new problems (m68k all{mod,yes}config): In file included from arch/m68k/include/asm/io_mm.h:25, from arch/m68k/include/asm/io.h:8, from include/linux/io.h:13, from include/linux/of_address.h:7, from drivers/gpu/drm/msm/adreno/adreno_gpu.c:13: drivers/gpu/drm/msm/adreno/a6xx_gmu.h: In function ‘gmu_write_rscc’: arch/m68k/include/asm/raw_io.h:34:80: error: ‘return’ with a value, in function returning void [-Werror=return-type] 34 | #define out_le32(addr,l) ((*(__force volatile __le32 *) (unsigned long)(addr)) = cpu_to_le32(l)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ arch/m68k/include/asm/io_mm.h:397:26: note: in expansion of macro ‘out_le32’ 397 | #define writel(val,addr) out_le32((addr),(val)) | ^~~~~~~~ drivers/gpu/drm/msm/msm_drv.h:468:32: note: in expansion of macro ‘writel’ 468 | #define msm_writel(data, addr) writel((data), (addr)) | ^~~~~~ /drivers/gpu/drm/msm/adreno/a6xx_gmu.h:141:9: note: in expansion of macro ‘msm_writel’ 141 | return msm_writel(value, gmu->rscc + (offset << 2)); | ^~~~~~~~~~ In file included from drivers/gpu/drm/msm/adreno/a6xx_gpu.h:11, from drivers/gpu/drm/msm/adreno/adreno_gpu.c:20: drivers/gpu/drm/msm/adreno/a6xx_gmu.h:139:20: note: declared here 139 | static inline void gmu_write_rscc(struct a6xx_gmu *gmu, u32 offset, u32 value) | ^~~~~~~~~~~~~~ These can be fixed using e.g. (there are more in the Adreno driver): static inline void gmu_write(struct a6xx_gmu *gmu, u32 offset, u32 value) { - return msm_writel(value, gmu->mmio + (offset << 2)); + msm_writel(value, gmu->mmio + (offset << 2)); } > Either case, this is not a problem with the nct6775 driver, > nor is it a new problem. Indeed. For the sparse people: The full error is: drivers/net/appletalk/cops.c:382:17: error: incompatible types in conditional expression (different base types): drivers/net/appletalk/cops.c:382:17: unsigned char drivers/net/appletalk/cops.c:382:17: void Basically, sparse doesn't like "a ? b : c", if the return types of b and c don't match, even if the resulting value is not used. E.g. outb() on m68k: #define outb(val, port) (((port) < 1024 && ISA_TYPE == ISA_TYPE_ENEC) ? isa_rom_outb((val), (port)) : isa_outb((val), (port))) where isa_rom_outb() leads to rom_out_8() returning u8, while isa_outb() leads to the out_8() that includes the cast to void. So the best solution seems to be to add more "(void)" casts, to e.g. rom_out_8() and friends? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 @ 2022-05-20 12:40 ` Geert Uytterhoeven 0 siblings, 0 replies; 16+ messages in thread From: Geert Uytterhoeven @ 2022-05-20 12:40 UTC (permalink / raw) To: Guenter Roeck Cc: linux-hwmon, Linux Fbdev development list, amd-gfx list, kernel test robot, KVM list, linux-staging, linux-m68k, linux-nvme, Linux Memory Management List, linux-sparse, DRI Development, Andrew Morton, open list:TI ETHERNET SWITCH DRIVER (CPSW), Luc Van Oostenryck Hi Günter On Thu, May 19, 2022 at 8:48 AM Guenter Roeck <linux@roeck-us.net> wrote: > On 5/18/22 17:55, kernel test robot wrote: > > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > branch HEAD: 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 Add linux-next specific files for 20220518 > > > > Error/Warning reports: > > > > https://lore.kernel.org/linux-mm/202204291924.vTGZmerI-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205041248.WgCwPcEV-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205122113.uLKzd3SZ-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205172344.3GFeaum1-lkp@intel.com > > https://lore.kernel.org/linux-mm/202205190527.o9wVEvHI-lkp@intel.com > > > > Error/Warning: (recently discovered and may have been fixed) > > > [ .. ] > > drivers/hwmon/nct6775-platform.c:199:9: sparse: unsigned char > > drivers/hwmon/nct6775-platform.c:199:9: sparse: void > > This is getting tiresome. Every driver using outb() on m68k will > experience that "problem". As far as I can see, it is caused by > > #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b)) > > in arch/m68k/include/asm/raw_io.h. I have no idea what the > "(void)" is for, The "(void)" makes sure there is no return value. Which matters if the result of a function returning void is propagated to another function returning void. > but removing it "fixes" the problem. This introduces new problems (m68k all{mod,yes}config): In file included from arch/m68k/include/asm/io_mm.h:25, from arch/m68k/include/asm/io.h:8, from include/linux/io.h:13, from include/linux/of_address.h:7, from drivers/gpu/drm/msm/adreno/adreno_gpu.c:13: drivers/gpu/drm/msm/adreno/a6xx_gmu.h: In function ‘gmu_write_rscc’: arch/m68k/include/asm/raw_io.h:34:80: error: ‘return’ with a value, in function returning void [-Werror=return-type] 34 | #define out_le32(addr,l) ((*(__force volatile __le32 *) (unsigned long)(addr)) = cpu_to_le32(l)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ arch/m68k/include/asm/io_mm.h:397:26: note: in expansion of macro ‘out_le32’ 397 | #define writel(val,addr) out_le32((addr),(val)) | ^~~~~~~~ drivers/gpu/drm/msm/msm_drv.h:468:32: note: in expansion of macro ‘writel’ 468 | #define msm_writel(data, addr) writel((data), (addr)) | ^~~~~~ /drivers/gpu/drm/msm/adreno/a6xx_gmu.h:141:9: note: in expansion of macro ‘msm_writel’ 141 | return msm_writel(value, gmu->rscc + (offset << 2)); | ^~~~~~~~~~ In file included from drivers/gpu/drm/msm/adreno/a6xx_gpu.h:11, from drivers/gpu/drm/msm/adreno/adreno_gpu.c:20: drivers/gpu/drm/msm/adreno/a6xx_gmu.h:139:20: note: declared here 139 | static inline void gmu_write_rscc(struct a6xx_gmu *gmu, u32 offset, u32 value) | ^~~~~~~~~~~~~~ These can be fixed using e.g. (there are more in the Adreno driver): static inline void gmu_write(struct a6xx_gmu *gmu, u32 offset, u32 value) { - return msm_writel(value, gmu->mmio + (offset << 2)); + msm_writel(value, gmu->mmio + (offset << 2)); } > Either case, this is not a problem with the nct6775 driver, > nor is it a new problem. Indeed. For the sparse people: The full error is: drivers/net/appletalk/cops.c:382:17: error: incompatible types in conditional expression (different base types): drivers/net/appletalk/cops.c:382:17: unsigned char drivers/net/appletalk/cops.c:382:17: void Basically, sparse doesn't like "a ? b : c", if the return types of b and c don't match, even if the resulting value is not used. E.g. outb() on m68k: #define outb(val, port) (((port) < 1024 && ISA_TYPE == ISA_TYPE_ENEC) ? isa_rom_outb((val), (port)) : isa_outb((val), (port))) where isa_rom_outb() leads to rom_out_8() returning u8, while isa_outb() leads to the out_8() that includes the cast to void. So the best solution seems to be to add more "(void)" casts, to e.g. rom_out_8() and friends? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 2022-05-20 12:40 ` Geert Uytterhoeven @ 2022-05-20 12:46 ` Geert Uytterhoeven -1 siblings, 0 replies; 16+ messages in thread From: Geert Uytterhoeven @ 2022-05-20 12:46 UTC (permalink / raw) To: Guenter Roeck Cc: kernel test robot, Andrew Morton, linux-staging, open list:TI ETHERNET SWITCH DRIVER (CPSW), linux-nvme, linux-hwmon, Linux Fbdev development list, KVM list, DRI Development, amd-gfx list, Linux Memory Management List, Luc Van Oostenryck, linux-sparse, linux-m68k On Fri, May 20, 2022 at 2:40 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > On Thu, May 19, 2022 at 8:48 AM Guenter Roeck <linux@roeck-us.net> wrote: > > On 5/18/22 17:55, kernel test robot wrote: > > > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > > branch HEAD: 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 Add linux-next specific files for 20220518 > > > > > > Error/Warning reports: > > > > > > https://lore.kernel.org/linux-mm/202204291924.vTGZmerI-lkp@intel.com > > > https://lore.kernel.org/linux-mm/202205041248.WgCwPcEV-lkp@intel.com > > > https://lore.kernel.org/linux-mm/202205122113.uLKzd3SZ-lkp@intel.com > > > https://lore.kernel.org/linux-mm/202205172344.3GFeaum1-lkp@intel.com > > > https://lore.kernel.org/linux-mm/202205190527.o9wVEvHI-lkp@intel.com > > > > > > Error/Warning: (recently discovered and may have been fixed) > > > > > [ .. ] > > > drivers/hwmon/nct6775-platform.c:199:9: sparse: unsigned char > > > drivers/hwmon/nct6775-platform.c:199:9: sparse: void > > > > This is getting tiresome. Every driver using outb() on m68k will > > experience that "problem". As far as I can see, it is caused by > > > > #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b)) > > > > in arch/m68k/include/asm/raw_io.h. I have no idea what the > > "(void)" is for, > > The "(void)" makes sure there is no return value. > Which matters if the result of a function returning void is propagated > to another function returning void. Which, FTR, sparse also doesn't like: error: return expression in void function Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 @ 2022-05-20 12:46 ` Geert Uytterhoeven 0 siblings, 0 replies; 16+ messages in thread From: Geert Uytterhoeven @ 2022-05-20 12:46 UTC (permalink / raw) To: Guenter Roeck Cc: linux-hwmon, Linux Fbdev development list, amd-gfx list, kernel test robot, KVM list, linux-staging, linux-m68k, linux-nvme, Linux Memory Management List, linux-sparse, DRI Development, Andrew Morton, open list:TI ETHERNET SWITCH DRIVER (CPSW), Luc Van Oostenryck On Fri, May 20, 2022 at 2:40 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > On Thu, May 19, 2022 at 8:48 AM Guenter Roeck <linux@roeck-us.net> wrote: > > On 5/18/22 17:55, kernel test robot wrote: > > > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > > branch HEAD: 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 Add linux-next specific files for 20220518 > > > > > > Error/Warning reports: > > > > > > https://lore.kernel.org/linux-mm/202204291924.vTGZmerI-lkp@intel.com > > > https://lore.kernel.org/linux-mm/202205041248.WgCwPcEV-lkp@intel.com > > > https://lore.kernel.org/linux-mm/202205122113.uLKzd3SZ-lkp@intel.com > > > https://lore.kernel.org/linux-mm/202205172344.3GFeaum1-lkp@intel.com > > > https://lore.kernel.org/linux-mm/202205190527.o9wVEvHI-lkp@intel.com > > > > > > Error/Warning: (recently discovered and may have been fixed) > > > > > [ .. ] > > > drivers/hwmon/nct6775-platform.c:199:9: sparse: unsigned char > > > drivers/hwmon/nct6775-platform.c:199:9: sparse: void > > > > This is getting tiresome. Every driver using outb() on m68k will > > experience that "problem". As far as I can see, it is caused by > > > > #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b)) > > > > in arch/m68k/include/asm/raw_io.h. I have no idea what the > > "(void)" is for, > > The "(void)" makes sure there is no return value. > Which matters if the result of a function returning void is propagated > to another function returning void. Which, FTR, sparse also doesn't like: error: return expression in void function Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 2022-05-20 12:46 ` Geert Uytterhoeven @ 2022-05-22 11:57 ` Luc Van Oostenryck -1 siblings, 0 replies; 16+ messages in thread From: Luc Van Oostenryck @ 2022-05-22 11:57 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Guenter Roeck, kernel test robot, Andrew Morton, linux-staging, open list:TI ETHERNET SWITCH DRIVER (CPSW), linux-nvme, linux-hwmon, Linux Fbdev development list, KVM list, DRI Development, amd-gfx list, Linux Memory Management List, linux-sparse, linux-m68k On Fri, May 20, 2022 at 02:46:20PM +0200, Geert Uytterhoeven wrote: > > The "(void)" makes sure there is no return value. > > Which matters if the result of a function returning void is propagated > > to another function returning void. > > Which, FTR, sparse also doesn't like: > > error: return expression in void function You should get this message only if the expression is itself not void. For example: $ cat test.c extern void fun(void); static void ko(int *ptr) { return *ptr; } static void ok1(int *ptr) { return (void) *ptr; } static void ok2(int *ptr) { return fun(); } $ sparse test.c test.c:5:16: error: return expression in void function IOW, sparse warn only for the ko() but not for ok1() or ok2(). If you have a case whee it s not the case, please send me the pre-processed file and I'll be glad to investigate. Best regards, -- Luc ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 @ 2022-05-22 11:57 ` Luc Van Oostenryck 0 siblings, 0 replies; 16+ messages in thread From: Luc Van Oostenryck @ 2022-05-22 11:57 UTC (permalink / raw) To: Geert Uytterhoeven Cc: linux-hwmon, Linux Fbdev development list, amd-gfx list, kernel test robot, KVM list, linux-staging, linux-m68k, linux-nvme, Linux Memory Management List, linux-sparse, DRI Development, Andrew Morton, open list:TI ETHERNET SWITCH DRIVER (CPSW), Guenter Roeck On Fri, May 20, 2022 at 02:46:20PM +0200, Geert Uytterhoeven wrote: > > The "(void)" makes sure there is no return value. > > Which matters if the result of a function returning void is propagated > > to another function returning void. > > Which, FTR, sparse also doesn't like: > > error: return expression in void function You should get this message only if the expression is itself not void. For example: $ cat test.c extern void fun(void); static void ko(int *ptr) { return *ptr; } static void ok1(int *ptr) { return (void) *ptr; } static void ok2(int *ptr) { return fun(); } $ sparse test.c test.c:5:16: error: return expression in void function IOW, sparse warn only for the ko() but not for ok1() or ok2(). If you have a case whee it s not the case, please send me the pre-processed file and I'll be glad to investigate. Best regards, -- Luc ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 2022-05-20 12:40 ` Geert Uytterhoeven @ 2022-05-22 11:44 ` Luc Van Oostenryck -1 siblings, 0 replies; 16+ messages in thread From: Luc Van Oostenryck @ 2022-05-22 11:44 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Guenter Roeck, kernel test robot, Andrew Morton, linux-staging, open list:TI ETHERNET SWITCH DRIVER (CPSW), linux-nvme, linux-hwmon, Linux Fbdev development list, KVM list, DRI Development, amd-gfx list, Linux Memory Management List, linux-sparse, linux-m68k On Fri, May 20, 2022 at 02:40:20PM +0200, Geert Uytterhoeven wrote: > Hi Günter > > On Thu, May 19, 2022 at 8:48 AM Guenter Roeck <linux@roeck-us.net> wrote: > > This is getting tiresome. Every driver using outb() on m68k will > > experience that "problem". As far as I can see, it is caused by > > > > #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b)) Not directly related to the root cause but the cast on the LHS is over-complex. *) If the types are correct, 'addr' should always be a 'u8 __iomem *'. Casting it to an unsigned long will throw away all type checking: pointers of any size, of any address space, any kind of integer, any scalar value will be silently be accepted. *) Then, when casting an integer to a pointer '__force' is unneeded because it's meaningless (because the integer has no type info about the pointee). The most correct way to write the above would be: static inline void out_8(u8 __iomem *addr, ... b) { *((__force volatile u8 *)addr) = b; } this way, you can typecheck 'addr' (but maybe it's the idea/the argument is not always type clean?). Otherwise, if the cast to unsigned long is kept, '__force' can be removed. > > Indeed. > > For the sparse people: > > The full error is: > > drivers/net/appletalk/cops.c:382:17: error: incompatible types > in conditional expression (different base types): > drivers/net/appletalk/cops.c:382:17: unsigned char > drivers/net/appletalk/cops.c:382:17: void > > Basically, sparse doesn't like "a ? b : c", if the return types of > b and c don't match, even if the resulting value is not used. Well, you know that the motivation for sparse was to be stricter than GCC. In this case it's simply what is required by the standard: n1570 (C11) 6.5.15 One of the following shall hold for the second and third operands: — both operands have arithmetic type; — both operands have the same structure or union type; — both operands have void type; — both operands are pointers to qualified or unqualified versions of compatible types; — one operand is a pointer and the other is a null pointer constant; or — one operand is a pointer to an object type and the other is a pointer to a qualified or unqualified version of void. Also, yes, the type checking is independent from the fact of being used or not (because the type of an expression must be know before any kind of processing can be done on its value). > E.g. outb() on m68k: > > #define outb(val, port) (((port) < 1024 && ISA_TYPE == > ISA_TYPE_ENEC) ? isa_rom_outb((val), (port)) : isa_outb((val), > (port))) > > where isa_rom_outb() leads to rom_out_8() returning u8, while > isa_outb() leads to the out_8() that includes the cast to void. > > So the best solution seems to be to add more "(void)" casts, to e.g. > rom_out_8() and friends? I kinda think so, yes (I suppose that rom_out_8() is never used as returning a non-void value). But in truth, I think it's the excessive use of relatively complex macros that is the real problem (an using a conditional expression not for its value but for its side-effects). Can't outb() be written as something like: static inline void outb(....) { if (port < 1024 && ISA_TYPE == ISA_TYPE_ENEC) isa_rom_outb(val, port); else isa_outb(val, port); } With this you have better type checking, no trickery, no need for extra casts, no problems with double evaluation, it's more readable (to me), ... But yes, I suppose it's not really simple to convert all this. Sorry for no being more helpful. Best regards, -- Luc ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 @ 2022-05-22 11:44 ` Luc Van Oostenryck 0 siblings, 0 replies; 16+ messages in thread From: Luc Van Oostenryck @ 2022-05-22 11:44 UTC (permalink / raw) To: Geert Uytterhoeven Cc: linux-hwmon, Linux Fbdev development list, amd-gfx list, kernel test robot, KVM list, linux-staging, linux-m68k, linux-nvme, Linux Memory Management List, linux-sparse, DRI Development, Andrew Morton, open list:TI ETHERNET SWITCH DRIVER (CPSW), Guenter Roeck On Fri, May 20, 2022 at 02:40:20PM +0200, Geert Uytterhoeven wrote: > Hi Günter > > On Thu, May 19, 2022 at 8:48 AM Guenter Roeck <linux@roeck-us.net> wrote: > > This is getting tiresome. Every driver using outb() on m68k will > > experience that "problem". As far as I can see, it is caused by > > > > #define out_8(addr,b) (void)((*(__force volatile u8 *) (unsigned long)(addr)) = (b)) Not directly related to the root cause but the cast on the LHS is over-complex. *) If the types are correct, 'addr' should always be a 'u8 __iomem *'. Casting it to an unsigned long will throw away all type checking: pointers of any size, of any address space, any kind of integer, any scalar value will be silently be accepted. *) Then, when casting an integer to a pointer '__force' is unneeded because it's meaningless (because the integer has no type info about the pointee). The most correct way to write the above would be: static inline void out_8(u8 __iomem *addr, ... b) { *((__force volatile u8 *)addr) = b; } this way, you can typecheck 'addr' (but maybe it's the idea/the argument is not always type clean?). Otherwise, if the cast to unsigned long is kept, '__force' can be removed. > > Indeed. > > For the sparse people: > > The full error is: > > drivers/net/appletalk/cops.c:382:17: error: incompatible types > in conditional expression (different base types): > drivers/net/appletalk/cops.c:382:17: unsigned char > drivers/net/appletalk/cops.c:382:17: void > > Basically, sparse doesn't like "a ? b : c", if the return types of > b and c don't match, even if the resulting value is not used. Well, you know that the motivation for sparse was to be stricter than GCC. In this case it's simply what is required by the standard: n1570 (C11) 6.5.15 One of the following shall hold for the second and third operands: — both operands have arithmetic type; — both operands have the same structure or union type; — both operands have void type; — both operands are pointers to qualified or unqualified versions of compatible types; — one operand is a pointer and the other is a null pointer constant; or — one operand is a pointer to an object type and the other is a pointer to a qualified or unqualified version of void. Also, yes, the type checking is independent from the fact of being used or not (because the type of an expression must be know before any kind of processing can be done on its value). > E.g. outb() on m68k: > > #define outb(val, port) (((port) < 1024 && ISA_TYPE == > ISA_TYPE_ENEC) ? isa_rom_outb((val), (port)) : isa_outb((val), > (port))) > > where isa_rom_outb() leads to rom_out_8() returning u8, while > isa_outb() leads to the out_8() that includes the cast to void. > > So the best solution seems to be to add more "(void)" casts, to e.g. > rom_out_8() and friends? I kinda think so, yes (I suppose that rom_out_8() is never used as returning a non-void value). But in truth, I think it's the excessive use of relatively complex macros that is the real problem (an using a conditional expression not for its value but for its side-effects). Can't outb() be written as something like: static inline void outb(....) { if (port < 1024 && ISA_TYPE == ISA_TYPE_ENEC) isa_rom_outb(val, port); else isa_outb(val, port); } With this you have better type checking, no trickery, no need for extra casts, no problems with double evaluation, it's more readable (to me), ... But yes, I suppose it's not really simple to convert all this. Sorry for no being more helpful. Best regards, -- Luc ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 2022-05-20 12:40 ` Geert Uytterhoeven @ 2022-05-22 11:54 ` Christoph Hellwig -1 siblings, 0 replies; 16+ messages in thread From: Christoph Hellwig @ 2022-05-22 11:54 UTC (permalink / raw) To: Geert Uytterhoeven Cc: Guenter Roeck, kernel test robot, Andrew Morton, linux-staging, open list:TI ETHERNET SWITCH DRIVER (CPSW), linux-nvme, linux-hwmon, Linux Fbdev development list, KVM list, DRI Development, amd-gfx list, Linux Memory Management List, Luc Van Oostenryck, linux-sparse, linux-m68k How about just turning the MMIO/PIO accessors on m68k into inline functions as they are on most other architectures? ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 @ 2022-05-22 11:54 ` Christoph Hellwig 0 siblings, 0 replies; 16+ messages in thread From: Christoph Hellwig @ 2022-05-22 11:54 UTC (permalink / raw) To: Geert Uytterhoeven Cc: linux-hwmon, Linux Fbdev development list, amd-gfx list, kernel test robot, KVM list, linux-staging, linux-m68k, linux-nvme, Linux Memory Management List, linux-sparse, DRI Development, Luc Van Oostenryck, Andrew Morton, open list:TI ETHERNET SWITCH DRIVER (CPSW), Guenter Roeck How about just turning the MMIO/PIO accessors on m68k into inline functions as they are on most other architectures? ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2022-05-23 6:26 UTC | newest] Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-05-19 0:55 [linux-next:master] BUILD REGRESSION 736ee37e2e8eed7fe48d0a37ee5a709514d478b3 kernel test robot 2022-05-19 0:55 ` kernel test robot 2022-05-19 3:41 ` Guenter Roeck 2022-05-19 3:41 ` Guenter Roeck 2022-05-19 18:44 ` Andrew Morton 2022-05-19 18:44 ` Andrew Morton 2022-05-20 12:40 ` Geert Uytterhoeven 2022-05-20 12:40 ` Geert Uytterhoeven 2022-05-20 12:46 ` Geert Uytterhoeven 2022-05-20 12:46 ` Geert Uytterhoeven 2022-05-22 11:57 ` Luc Van Oostenryck 2022-05-22 11:57 ` Luc Van Oostenryck 2022-05-22 11:44 ` Luc Van Oostenryck 2022-05-22 11:44 ` Luc Van Oostenryck 2022-05-22 11:54 ` Christoph Hellwig 2022-05-22 11:54 ` Christoph Hellwig
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.