[android-common:android17-6.18 1/1] arch/arm64/kvm/pkvm.c:70:3: warning: unused variable 'host_s2_mode'
kernel test robot <[email protected]> Wed, 05 Aug 2026 06:28:40 +0800
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
Hi Vincent, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android17-6.18 head: 42ab2c618ff1c956ec994d575536c84aa9ceb1b3 commit: a834e9b6ddb8d401b3ded1fb0bf4906024f99228 [1/1] ANDROID: KVM: arm64: Add kvm-arm.host_s2 cmdline knob config: arm64-randconfig-001-20260805 (https://download.01.org/0day-ci/archive/20260805/[email protected]/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project bacfe2950f8218268fcc0a8765644ea0c15f0360) rustc: rustc 1.96.0 (ac68faa20 2026-05-25) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260805/[email protected]/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): arch/arm64/kvm/pkvm.c:1063:6: warning: variable 'pages' set but not used [-Wunused-but-set-variable] 1063 | u64 pages, nr_busy; | ^ arch/arm64/kvm/pkvm.c:1807:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] 1807 | size_t size; | ^ >> arch/arm64/kvm/pkvm.c:70:3: warning: unused variable 'host_s2_mode' [-Wunused-variable] 70 | } host_s2_mode; | ^~~~~~~~~~~~ 3 warnings generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for SND_COMPRESS_ACCEL Depends on [n]: SOUND [=n] && SND [=n] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_JACK Depends on [n]: SOUND [=n] && SND [=n] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_VMASTER Depends on [n]: SOUND [=n] && SND [=n] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_JACK_INPUT_DEV Depends on [n]: SOUND [=n] && SND [=n] && SND_JACK [=y] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] WARNING: unmet direct dependencies detected for DIMLIB Depends on [n]: NET [=n] Selected by [y]: - GKI_HIDDEN_VIRTUAL_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_PCM_ELD Depends on [n]: SOUND [=n] && SND [=n] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] WARNING: unmet direct dependencies detected for PHY_PACKAGE Depends on [n]: NETDEVICES [=n] && PHYLIB [=n] Selected by [y]: - GKI_HIDDEN_PHY_CONFIGS [=y] vim +/host_s2_mode +70 arch/arm64/kvm/pkvm.c 66 67 static enum { 68 PKVM_HOST_S2_CMA, 69 PKVM_HOST_S2_CARVEOUT, > 70 } host_s2_mode; 71 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki