public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andi Kleen <ak@linux.intel.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org,
	Kuppuswamy Sathyanarayanan
	<sathyanarayanan.kuppuswamy@linux.intel.com>
Subject: [intel-tdx:guest 122/136] kernel/dma/swiotlb.c:540:28: error: unused function 'area_end'
Date: Wed, 20 Oct 2021 13:57:21 +0800	[thread overview]
Message-ID: <202110201316.10Ea0GCA-lkp@intel.com> (raw)

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

tree:   https://github.com/intel/tdx.git guest
head:   12f4800ff5dbe89a642744796008f89f23b2e446
commit: 200e6caad3e4ac89bb2097d4d21425eabac46eea [122/136] swiotlb: Split up single swiotlb lock
config: x86_64-buildonly-randconfig-r006-20211019 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 92a0389b0425a9535a99a0ce13ba0eeda2bce7ad)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/intel/tdx/commit/200e6caad3e4ac89bb2097d4d21425eabac46eea
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest
        git checkout 200e6caad3e4ac89bb2097d4d21425eabac46eea
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

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 >>):

>> kernel/dma/swiotlb.c:540:28: error: unused function 'area_end' [-Werror,-Wunused-function]
   static inline unsigned int area_end(struct io_tlb_mem *mem, int aindex)
                              ^
   1 error generated.


vim +/area_end +540 kernel/dma/swiotlb.c

   539	
 > 540	static inline unsigned int area_end(struct io_tlb_mem *mem, int aindex)
   541	{
   542		return area_start(aindex) + area_nslabs(mem);
   543	}
   544	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 45138 bytes --]

                 reply	other threads:[~2021-10-20  5:57 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=202110201316.10Ea0GCA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ak@linux.intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=sathyanarayanan.kuppuswamy@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox