All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Christoph Hellwig <hch@lst.de>
Cc: kbuild-all@lists.01.org, linux-nvme@lists.infradead.org
Subject: [linux-nvme:swiotlb-init-cleanup 8/11] arch/x86/kernel/pci-dma.c:94:35: error: 'x86_swiotlb_flags' undeclared; did you mean 'x86_swiotlb_enable'?
Date: Fri, 18 Feb 2022 03:47:23 +0800	[thread overview]
Message-ID: <202202180251.LDy8F41C-lkp@intel.com> (raw)

tree:   git://git.infradead.org/nvme.git swiotlb-init-cleanup
head:   2cfb7ec6b2292ac81243cacda06a2ca79b06f2c2
commit: 563c044b3b3c098f73df34a500203b45cd6708b0 [8/11] swiotlb: make the swiotlb_init interface more useful
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220218/202202180251.LDy8F41C-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add linux-nvme git://git.infradead.org/nvme.git
        git fetch --no-tags linux-nvme swiotlb-init-cleanup
        git checkout 563c044b3b3c098f73df34a500203b45cd6708b0
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/x86/kernel/pci-dma.c: In function 'pci_iommu_alloc':
>> arch/x86/kernel/pci-dma.c:94:35: error: 'x86_swiotlb_flags' undeclared (first use in this function); did you mean 'x86_swiotlb_enable'?
      94 |  swiotlb_init(x86_swiotlb_enable, x86_swiotlb_flags);
         |                                   ^~~~~~~~~~~~~~~~~
         |                                   x86_swiotlb_enable
   arch/x86/kernel/pci-dma.c:94:35: note: each undeclared identifier is reported only once for each function it appears in


vim +94 arch/x86/kernel/pci-dma.c

    86	
    87	void __init pci_iommu_alloc(void)
    88	{
    89		pci_swiotlb_detect_4gb();
    90		gart_iommu_hole_init();
    91		amd_iommu_detect();
    92		detect_intel_iommu();
    93	
  > 94		swiotlb_init(x86_swiotlb_enable, x86_swiotlb_flags);
    95	}
    96	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org


WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-nvme:swiotlb-init-cleanup 8/11] arch/x86/kernel/pci-dma.c:94:35: error: 'x86_swiotlb_flags' undeclared; did you mean 'x86_swiotlb_enable'?
Date: Fri, 18 Feb 2022 03:47:23 +0800	[thread overview]
Message-ID: <202202180251.LDy8F41C-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1864 bytes --]

tree:   git://git.infradead.org/nvme.git swiotlb-init-cleanup
head:   2cfb7ec6b2292ac81243cacda06a2ca79b06f2c2
commit: 563c044b3b3c098f73df34a500203b45cd6708b0 [8/11] swiotlb: make the swiotlb_init interface more useful
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220218/202202180251.LDy8F41C-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add linux-nvme git://git.infradead.org/nvme.git
        git fetch --no-tags linux-nvme swiotlb-init-cleanup
        git checkout 563c044b3b3c098f73df34a500203b45cd6708b0
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/x86/kernel/pci-dma.c: In function 'pci_iommu_alloc':
>> arch/x86/kernel/pci-dma.c:94:35: error: 'x86_swiotlb_flags' undeclared (first use in this function); did you mean 'x86_swiotlb_enable'?
      94 |  swiotlb_init(x86_swiotlb_enable, x86_swiotlb_flags);
         |                                   ^~~~~~~~~~~~~~~~~
         |                                   x86_swiotlb_enable
   arch/x86/kernel/pci-dma.c:94:35: note: each undeclared identifier is reported only once for each function it appears in


vim +94 arch/x86/kernel/pci-dma.c

    86	
    87	void __init pci_iommu_alloc(void)
    88	{
    89		pci_swiotlb_detect_4gb();
    90		gart_iommu_hole_init();
    91		amd_iommu_detect();
    92		detect_intel_iommu();
    93	
  > 94		swiotlb_init(x86_swiotlb_enable, x86_swiotlb_flags);
    95	}
    96	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

             reply	other threads:[~2022-02-17 19:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-17 19:47 kernel test robot [this message]
2022-02-17 19:47 ` [linux-nvme:swiotlb-init-cleanup 8/11] arch/x86/kernel/pci-dma.c:94:35: error: 'x86_swiotlb_flags' undeclared; did you mean 'x86_swiotlb_enable'? kernel test robot
2022-02-17 20:00 ` Christoph Hellwig
2022-02-17 20:00   ` Christoph Hellwig

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=202202180251.LDy8F41C-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=hch@lst.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-nvme@lists.infradead.org \
    /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.