All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android16-6.12-2026-06 2/2] drivers/virt/halla/hvm_vtimer.c:77:16: warning: variable 'ret' set but not used
@ 2026-10-14 14:41 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-14 14:41 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

Hi Kim,

FYI, the error/warning still remains.

tree:   https://android.googlesource.com/kernel/common android16-6.12-2026-06
head:   2bc1fb49dca33ce65e6cf7f3036165999d31feee
commit: 9007a992df6c7fbc50cbcc21613b3a5c3c019ab6 [2/2] ANDROID: drivers: virt: Initialization halla module
config: arm64-randconfig-r2303-20261014 (https://download.01.org/0day-ci/archive/20261014/202610141610.OIBn4TGk-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261014/202610141610.OIBn4TGk-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610141610.OIBn4TGk-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/virt/halla/hvm_vtimer.c:77:16: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
           unsigned long ret;
                         ^
   1 warning generated.
--
>> drivers/virt/halla/hvm_ioeventfd.c:27: warning: Function parameter or struct member 'hvm' not described in 'ioeventfd_check_collision'
>> drivers/virt/halla/hvm_ioeventfd.c:231: warning: Function parameter or struct member 'hvm' not described in 'hvm_ioeventfd'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for USB_PHY
   Depends on [n]: USB_SUPPORT [=n]
   Selected by [y]:
   - GKI_HIDDEN_USB_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for WEXT_PRIV
   Depends on [n]: NET [=y] && WIRELESS [=n]
   Selected by [y]:
   - GKI_LEGACY_WEXT_ALLCONFIG [=y]
   WARNING: unmet direct dependencies detected for PHYLINK
   Depends on [n]: NETDEVICES [=n]
   Selected by [y]:
   - GKI_HIDDEN_ETHERNET_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for INTEL_MEI_ME
   Depends on [n]: X86 && PCI [=y]
   Selected by [m]:
   - INTEL_MEI_PXP [=m] && (DRM_I915 [=n] || DRM_XE [=m])
   WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS
   Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n]
   Selected by [m]:
   - DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_XE [=m] && DRM_XE [=m]=m [=m]
   WARNING: unmet direct dependencies detected for WIRELESS_EXT
   Depends on [n]: NET [=y] && WIRELESS [=n]
   Selected by [y]:
   - GKI_LEGACY_WEXT_ALLCONFIG [=y]
   WARNING: unmet direct dependencies detected for WEXT_CORE
   Depends on [n]: NET [=y] && WIRELESS [=n] && (CFG80211_WEXT [=n] || WIRELESS_EXT [=y])
   Selected by [y]:
   - GKI_LEGACY_WEXT_ALLCONFIG [=y]
   WARNING: unmet direct dependencies detected for CAN_RX_OFFLOAD
   Depends on [n]: NETDEVICES [=n] && CAN_DEV [=n] && CAN_NETLINK [=n]
   Selected by [y]:
   - GKI_HIDDEN_MCP251XFD_CONFIGS [=y]
   WARNING: unmet direct dependencies detected for WEXT_SPY
   Depends on [n]: NET [=y] && WIRELESS [=n]
   Selected by [y]:
   - GKI_LEGACY_WEXT_ALLCONFIG [=y]
   WARNING: unmet direct dependencies detected for WEXT_PROC
   Depends on [n]: NET [=y] && WIRELESS [=n] && PROC_FS [=y] && WEXT_CORE [=y]
   Selected by [y]:
   - GKI_LEGACY_WEXT_ALLCONFIG [=y]


vim +/ret +77 drivers/virt/halla/hvm_vtimer.c

    74	
    75	static irqreturn_t hvm_arch_timer_handler(int irq, void *dev_id)
    76	{
  > 77		unsigned long ret;
    78		u32 tuple = *(u32 *)dev_id;
    79		u32 timer_ppi = guest_vtimer_irq - HVM_IRQ_PPI_START_NUM;
    80	
    81		if (tuple == (u32)(~0) || (read_sysreg(cntp_ctl_el0) & (u64)(2)))
    82			return IRQ_NONE;
    83	
    84		// mask timer
    85		write_sysreg(read_sysreg(cntp_ctl_el0) | (u64)(2), cntp_ctl_el0);
    86		isb();
    87	
    88		// call IRQ_LINE HVC
    89		ret = exynos_hvc(HVC_FID_HVM_IRQ_LINE, tuple,
    90				((u32)(1) << 31) | timer_ppi, true, 0);
    91	
    92		return IRQ_HANDLED;
    93	}
    94	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-14 14:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-14 14:41 [android-common:android16-6.12-2026-06 2/2] drivers/virt/halla/hvm_vtimer.c:77:16: warning: variable 'ret' set but not used kernel test robot

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.