All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: wenxiong@linux.ibm.com, njavali@marvell.com,
	brking@linux.ibm.com, linux-scsi@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, wenxiong@us.ibm.com,
	Wen Xiong <wenxiong@linux.ibm.com>,
	Kyle Mahlkuch <Kyle.Mahlkuch@ibm.com>
Subject: Re: [PATCH 1/2] scsi/ipr: enable/disable IRQD_NO_BALANCING during reset
Date: Thu, 16 Oct 2025 19:36:22 +0800	[thread overview]
Message-ID: <202510161909.4qsMFXQL-lkp@intel.com> (raw)
In-Reply-To: <20251015205311.122963-2-wenxiong@linux.ibm.com>

Hi,

kernel test robot noticed the following build errors:

[auto build test ERROR on jejb-scsi/for-next]
[also build test ERROR on mkp-scsi/for-next linus/master v6.18-rc1 next-20251015]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/wenxiong-linux-ibm-com/scsi-ipr-enable-disable-IRQD_NO_BALANCING-during-reset/20251016-045452
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
patch link:    https://lore.kernel.org/r/20251015205311.122963-2-wenxiong%40linux.ibm.com
patch subject: [PATCH 1/2] scsi/ipr: enable/disable IRQD_NO_BALANCING during reset
config: x86_64-buildonly-randconfig-004-20251016 (https://download.01.org/0day-ci/archive/20251016/202510161909.4qsMFXQL-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.4.0-5) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251016/202510161909.4qsMFXQL-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/202510161909.4qsMFXQL-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/scsi/ipr.c: In function 'ipr_set_affinity_nobalance':
>> drivers/scsi/ipr.c:7864:25: error: implicit declaration of function 'irq_set_status_flags' [-Werror=implicit-function-declaration]
    7864 |                         irq_set_status_flags(irq, IRQ_NO_BALANCING);
         |                         ^~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/ipr.c:7864:51: error: 'IRQ_NO_BALANCING' undeclared (first use in this function); did you mean 'IRQF_NOBALANCING'?
    7864 |                         irq_set_status_flags(irq, IRQ_NO_BALANCING);
         |                                                   ^~~~~~~~~~~~~~~~
         |                                                   IRQF_NOBALANCING
   drivers/scsi/ipr.c:7864:51: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/scsi/ipr.c:7866:25: error: implicit declaration of function 'irq_clear_status_flags' [-Werror=implicit-function-declaration]
    7866 |                         irq_clear_status_flags(irq, IRQ_NO_BALANCING);
         |                         ^~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/irq_set_status_flags +7864 drivers/scsi/ipr.c

  7845	
  7846	/**
  7847	 * ipr_set_affinity_nobalance
  7848	 * @oa_cfg:	ipr_ioa_cfg struct for an ipr device
  7849	 * @flag:	bool
  7850	 *	true: ensable "IRQ_NO_BALANCING" bit for msix interrupt
  7851	 *	false: disable "IRQ_NO_BALANCING" bit for msix interrupt
  7852	 * Description: This function will be called to disable/enable
  7853	 *	"IRQ_NO_BALANCING" to avoid irqbalance daemon
  7854	 *	kicking in during adapter reset.
  7855	 **/
  7856	static void ipr_set_affinity_nobalance(struct ipr_ioa_cfg *ioa_cfg, bool flag)
  7857	{
  7858		int irq, i;
  7859	
  7860		for (i = 0; i < ioa_cfg->nvectors; i++) {
  7861			irq = pci_irq_vector(ioa_cfg->pdev, i);
  7862	
  7863			if (flag)
> 7864				irq_set_status_flags(irq, IRQ_NO_BALANCING);
  7865			else
> 7866				irq_clear_status_flags(irq, IRQ_NO_BALANCING);
  7867		}
  7868	}
  7869	

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

  reply	other threads:[~2025-10-16 11:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-15 20:53 [PATCH 0/2] enable/disable IRQD_NO_BALANCING during reset wenxiong
2025-10-15 20:53 ` [PATCH 1/2] scsi/ipr: " wenxiong
2025-10-16 11:36   ` kernel test robot [this message]
2025-10-17  5:39   ` kernel test robot
2025-10-15 20:53 ` [PATCH 2/2] scsi/qla2xxx: " wenxiong
2025-10-16 17:54   ` kernel test robot

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=202510161909.4qsMFXQL-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Kyle.Mahlkuch@ibm.com \
    --cc=brking@linux.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=njavali@marvell.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=wenxiong@linux.ibm.com \
    --cc=wenxiong@us.ibm.com \
    /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.