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:
.config.gz
Description: application/gzip