Netdev List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Joerg Roedel <jroedel@suse.de>
Cc: kbuild-all@01.org, kvm@vger.kernel.org,
	virtualization@lists.linux-foundation.org,
	netdev@vger.kernel.org, "Michael S. Tsirkin" <mst@redhat.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Christoph Hellwig <hch@lst.de>
Subject: [vhost:linux-next 2/23] include/linux/swiotlb.h:99:22: error: static declaration of 'swiotlb_max_mapping_size' follows non-static declaration
Date: Wed, 6 Feb 2019 03:37:12 +0800	[thread overview]
Message-ID: <201902060310.jNXgj4pr%fengguang.wu@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next
head:   104f89a60ef5ec77d6f559eac4676844b3480740
commit: 951a381d4c0d45a9b44de30228c6ef17083854ea [2/23] swiotlb: Introduce swiotlb_max_mapping_size()
config: i386-tinyconfig (attached as .config)
compiler: gcc-8 (Debian 8.2.0-14) 8.2.0
reproduce:
        git checkout 951a381d4c0d45a9b44de30228c6ef17083854ea
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):


vim +/swiotlb_max_mapping_size +99 include/linux/swiotlb.h

    75	
    76	bool swiotlb_map(struct device *dev, phys_addr_t *phys, dma_addr_t *dma_addr,
    77			size_t size, enum dma_data_direction dir, unsigned long attrs);
    78	void __init swiotlb_exit(void);
    79	unsigned int swiotlb_max_segment(void);
    80	#else
    81	#define swiotlb_force SWIOTLB_NO_FORCE
    82	static inline bool is_swiotlb_buffer(phys_addr_t paddr)
    83	{
    84		return false;
    85	}
    86	static inline bool swiotlb_map(struct device *dev, phys_addr_t *phys,
    87			dma_addr_t *dma_addr, size_t size, enum dma_data_direction dir,
    88			unsigned long attrs)
    89	{
    90		return false;
    91	}
    92	static inline void swiotlb_exit(void)
    93	{
    94	}
    95	static inline unsigned int swiotlb_max_segment(void)
    96	{
    97		return 0;
    98	}
  > 99	static inline size_t swiotlb_max_mapping_size(struct device *dev)
   100	{
   101		return SIZE_MAX;
   102	}
   103	#endif /* CONFIG_SWIOTLB */
   104	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

                 reply	other threads:[~2019-02-05 19:37 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=201902060310.jNXgj4pr%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=hch@lst.de \
    --cc=jroedel@suse.de \
    --cc=kbuild-all@01.org \
    --cc=konrad.wilk@oracle.com \
    --cc=kvm@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=virtualization@lists.linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox