All of lore.kernel.org
 help / color / mirror / Atom feed
* [wsa:renesas/topic/i2c-core-dma 11/13] include/linux/i2c.h:777:36: error: implicit declaration of function 'object_is_on_stack'
@ 2017-06-04 22:08 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-06-04 22:08 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: kbuild-all, linux-i2c

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/topic/i2c-core-dma
head:   12ce22166e7da632e9467c22be6014c36afa9a9c
commit: d624178d6427170c2c8cbbf92178332594580ffd [11/13] i2c: add helper to determine if DMA is favoured
config: i386-randconfig-x075-06041529 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout d624178d6427170c2c8cbbf92178332594580ffd
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from drivers/char/ipmi/ipmi_ssif.c:48:0:
   include/linux/i2c.h: In function 'i2c_check_msg_for_dma':
>> include/linux/i2c.h:777:36: error: implicit declaration of function 'object_is_on_stack' [-Werror=implicit-function-declaration]
     if (!virt_addr_valid(msg->buf) || object_is_on_stack(msg->buf)) {
                                       ^~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/object_is_on_stack +777 include/linux/i2c.h

   771	static inline int i2c_check_msg_for_dma(struct i2c_msg *msg, unsigned int dma_threshold)
   772	{
   773		if (msg->len < dma_threshold)
   774			return -ERANGE;
   775	
   776	#if !defined(CONFIG_DMA_API_DEBUG)
 > 777		if (!virt_addr_valid(msg->buf) || object_is_on_stack(msg->buf)) {
   778			pr_debug("msg buffer to 0x%04x might not be DMA capable\n",
   779				 msg->addr);
   780			return -EFAULT;

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-04 22:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-04 22:08 [wsa:renesas/topic/i2c-core-dma 11/13] include/linux/i2c.h:777:36: error: implicit declaration of function 'object_is_on_stack' kbuild test robot

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.