From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5DEBE3783A8 for ; Tue, 7 Apr 2026 04:02:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775534562; cv=none; b=HzbVRVxGvtG+hF6iuWYA4CSEAt0Lf2YgmOYxLIMPjn4HFDftcvPAwkXWvcQbjnfR5tuSqqqQDZamFM9kABHyxMDKAFEQGTgHwuE554VxHQJYECw8dx6n9r6VINFebig0reidGL//VVk6yTBD6XfVMmYLeZVSeWUmi2XOOat1Ehc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775534562; c=relaxed/simple; bh=SaHqrvzH6pHQAhhc0CVhIWIWTeopqLmOj0WHBY2V+XY=; h=Date:From:To:Cc:Subject:Message-ID; b=ORZIRfKgX5KUAFdoLDjhJankep9NvLj0vKBMIaGqvDeIipxW31Ee73R2Cv3nVsZfHs6yjvoL7uGYpCEHx0Yzdvm2NUvytmUBgauKgyE2jnC/HseGSrsaJJ9gRl0ml2J0UVylvxy78CVcQsLAkximNY5+Y28JmiE9f6lxGutfb38= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=e3j4/CFg; arc=none smtp.client-ip=192.198.163.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="e3j4/CFg" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1775534561; x=1807070561; h=date:from:to:cc:subject:message-id; bh=SaHqrvzH6pHQAhhc0CVhIWIWTeopqLmOj0WHBY2V+XY=; b=e3j4/CFgh0MDNIWZKVBpts/qhTfxXBLEG33163DUVx+UrAvRi40Fa9zU 6eYdxFMpKdYms59P5wISQnLQK4m+N0XMYcsjamJdBHWZ6WBO6E9o3Acqq QiZcv9a76XB3dXRLOle8JhDYD5vl3xLmfCe71QEokVpX+tdhOvApi1jL7 WGG4cAoGgPUHWovzwgh5c618yU0Md3bJQVCX6qtS5+cAquC4X3kCs2MRR W4xcUycRgvwCSC2jKxCqAR5XiU0lbpo60/LJy/gljD0Tlf4OTOJJMVoga +5v1K2mqIHEhOF3pzYxwxnR0L+HxNPZV8iDc1lm1Z6KrmlokeBDI+W5AP g==; X-CSE-ConnectionGUID: /e+rBmGaT66HiujCmFgABw== X-CSE-MsgGUID: kx1+jpF2QTOPecNzJGyfGg== X-IronPort-AV: E=McAfee;i="6800,10657,11751"; a="76386031" X-IronPort-AV: E=Sophos;i="6.23,164,1770624000"; d="scan'208";a="76386031" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2026 21:02:38 -0700 X-CSE-ConnectionGUID: zddimtG+SviGfxD9nk2L9w== X-CSE-MsgGUID: j2JOOYySQXGwGuBHcmVuXA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,164,1770624000"; d="scan'208";a="227957169" Received: from lkp-server01.sh.intel.com (HELO d00eb8a6782a) ([10.239.97.150]) by orviesa009.jf.intel.com with ESMTP; 06 Apr 2026 21:02:36 -0700 Received: from kbuild by d00eb8a6782a with local (Exim 4.98.2) (envelope-from ) id 1w9xe5-0000000008H-3yKW; Tue, 07 Apr 2026 04:02:33 +0000 Date: Tue, 07 Apr 2026 12:01:50 +0800 From: kernel test robot To: Lorenzo Bianconi Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Felix Fietkau Subject: drivers/net/wireless/mediatek/mt76/debugfs.c:77:16: warning: variable 'queued' set but not used Message-ID: <202604060722.tkO80FXo-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Hi Lorenzo, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1791c390149f56313c425e8add1fd15baf40afb8 commit: 2d8be76c16746f1c90f4a01c188b6aad190b747e mt76: debugfs: improve queue node readability date: 4 years, 6 months ago config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20260406/202604060722.tkO80FXo-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 15.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260406/202604060722.tkO80FXo-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 | Fixes: 2d8be76c1674 ("mt76: debugfs: improve queue node readability") | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202604060722.tkO80FXo-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/net/wireless/mediatek/mt76/debugfs.c: In function 'mt76_rx_queues_read': >> drivers/net/wireless/mediatek/mt76/debugfs.c:77:16: warning: variable 'queued' set but not used [-Wunused-but-set-variable] 77 | int i, queued; | ^~~~~~ vim +/queued +77 drivers/net/wireless/mediatek/mt76/debugfs.c 17f1de56df0512 Felix Fietkau 2017-11-21 73 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 74 static int mt76_rx_queues_read(struct seq_file *s, void *data) 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 75 { 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 76 struct mt76_dev *dev = dev_get_drvdata(s->private); 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 @77 int i, queued; 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 78 2d8be76c16746f Lorenzo Bianconi 2021-09-25 79 seq_puts(s, " queue | hw-queued | head | tail |\n"); f473b42ac516be Felix Fietkau 2020-05-24 80 mt76_for_each_q_rx(dev, i) { 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 81 struct mt76_queue *q = &dev->q_rx[i]; 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 82 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 83 queued = mt76_is_usb(dev) ? q->ndesc - q->queued : q->queued; 2d8be76c16746f Lorenzo Bianconi 2021-09-25 84 seq_printf(s, " %9d | %9d | %9d | %9d |\n", 2d8be76c16746f Lorenzo Bianconi 2021-09-25 85 i, q->queued, q->head, q->tail); 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 86 } 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 87 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 88 return 0; 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 89 } 6ea62c50792c6a Lorenzo Bianconi 2020-04-19 90 :::::: The code at line 77 was first introduced by commit :::::: 6ea62c50792c6ad8b283c02d19f4304c7f3a3ccf mt76: add rx queues info to mt76 debugfs :::::: TO: Lorenzo Bianconi :::::: CC: Felix Fietkau -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki