All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android16-6.12-2026-06 2/2] drivers/virt/halla/hvm_vtimer.c:77:16: warning: variable 'ret' set but not used
Date: Wed, 14 Oct 2026 16:41:29 +0200	[thread overview]
Message-ID: <202610141610.OIBn4TGk-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-10-14 14:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202610141610.OIBn4TGk-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.