LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andi Kleen <ak@linux.intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Kuppuswamy Sathyanarayanan 
	<sathyanarayanan.kuppuswamy@linux.intel.com>
Subject: [intel-tdx:guest 38/107] lib/pci_iomap.c:30:9: error: implicit declaration of function 'ioremap_shared'; did you mean 'map_ioremap_shared'?
Date: Sat, 31 Jul 2021 07:47:42 +0800	[thread overview]
Message-ID: <202107310736.jLB8fLJi-lkp@intel.com> (raw)

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

tree:   https://github.com/intel/tdx.git guest
head:   31ae665a672fa9307b6980ee92041d6f1f1f5310
commit: d6a8b3183341aa1594bb98762ad1a62a3896b01a [38/107] pci: Add pci_iomap_shared{,_range}
config: alpha-randconfig-r005-20210730 (attached as .config)
compiler: alpha-linux-gcc (GCC) 10.3.0
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/d6a8b3183341aa1594bb98762ad1a62a3896b01a
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest
        git checkout d6a8b3183341aa1594bb98762ad1a62a3896b01a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=alpha 

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

   lib/pci_iomap.c: In function 'map_ioremap_shared':
>> lib/pci_iomap.c:30:9: error: implicit declaration of function 'ioremap_shared'; did you mean 'map_ioremap_shared'? [-Werror=implicit-function-declaration]
      30 |  return ioremap_shared(addr, size);
         |         ^~~~~~~~~~~~~~
         |         map_ioremap_shared
   lib/pci_iomap.c:30:9: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
      30 |  return ioremap_shared(addr, size);
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +30 lib/pci_iomap.c

    27	
    28	static void __iomem *map_ioremap_shared(phys_addr_t addr, size_t size)
    29	{
  > 30		return ioremap_shared(addr, size);
    31	}
    32	

---
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: 28833 bytes --]

                 reply	other threads:[~2021-07-30 23:48 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=202107310736.jLB8fLJi-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=sathyanarayanan.kuppuswamy@linux.intel.com \
    --subject='Re: [intel-tdx:guest 38/107] lib/pci_iomap.c:30:9: error: implicit declaration of function '\''ioremap_shared'\''; did you mean '\''map_ioremap_shared'\''?' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).