Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Aakarsh Jain <aakarsh.jain@oss.qualcomm.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH] x86/pci-dma: add "any" keyword to swiotlb= kernel parameter
Date: Thu, 6 Aug 2026 13:46:20 +0800	[thread overview]
Message-ID: <202608061320.CdWO5wPP-lkp@intel.com> (raw)
In-Reply-To: <20260708114244.246176-1-aakarsh.jain@oss.qualcomm.com>

Hi Aakarsh,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on linus/master v7.2-rc6 next-20260805]
[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/Aakarsh-Jain/x86-pci-dma-add-any-keyword-to-swiotlb-kernel-parameter/20260805-183105
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/20260708114244.246176-1-aakarsh.jain%40oss.qualcomm.com
patch subject: [RFC PATCH] x86/pci-dma: add "any" keyword to swiotlb= kernel parameter
config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20260806/202608061320.CdWO5wPP-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 12df34b8469b8095359de8c249cb1b2753fadeea)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260806/202608061320.CdWO5wPP-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/202608061320.CdWO5wPP-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/dma/swiotlb.c:451:2: error: use of undeclared identifier 'flags'
     451 |         flags |= swiotlb_param_flags;
         |         ^~~~~
   1 error generated.


vim +/flags +451 kernel/dma/swiotlb.c

   426	
   427	/*
   428	 * Systems with larger DMA zones (those that don't support ISA) can
   429	 * initialize the swiotlb later using the slab allocator if needed.
   430	 * This should be just like above, but with some error catching.
   431	 */
   432	int swiotlb_init_late(size_t size, gfp_t gfp_mask,
   433			int (*remap)(void *tlb, unsigned long nslabs))
   434	{
   435		struct io_tlb_pool *mem = &io_tlb_default_mem.defpool;
   436		unsigned long nslabs = ALIGN(size >> IO_TLB_SHIFT, IO_TLB_SEGSIZE);
   437		unsigned int nareas;
   438		unsigned char *vstart = NULL;
   439		unsigned int order, area_order;
   440		bool retried = false;
   441		int rc = 0;
   442	
   443		if (io_tlb_default_mem.nslabs)
   444			return 0;
   445	
   446		if (swiotlb_force_disable)
   447			return 0;
   448	
   449		io_tlb_default_mem.force_bounce = swiotlb_force_bounce;
   450	
 > 451		flags |= swiotlb_param_flags;
   452	

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

           reply	other threads:[~2026-08-06  5:47 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20260708114244.246176-1-aakarsh.jain@oss.qualcomm.com>]

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=202608061320.CdWO5wPP-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aakarsh.jain@oss.qualcomm.com \
    --cc=llvm@lists.linux.dev \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox