[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201902272334.tadrCx4p%fengguang.wu@intel.com>
Date: Thu, 28 Feb 2019 00:00:30 +0800
From: kbuild test robot <lkp@...el.com>
To: Elie Morisse <syniurge@...il.com>
Cc: kbuild-all@...org, linux-i2c@...r.kernel.org,
Wolfram Sang <wsa@...-dreams.de>,
Nehal-bakulchandra.Shah@....com, Shyam-sundar.S-k@....com,
sandeep.singh@....com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v16] i2c: Add drivers for the AMD PCIe MP2 I2C controller
Hi Elie,
I love your patch! Yet something to improve:
[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on v5.0-rc8 next-20190227]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Elie-Morisse/i2c-Add-drivers-for-the-AMD-PCIe-MP2-I2C-controller/20190227-225657
base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
config: i386-allmodconfig (attached as .config)
compiler: gcc-8 (Debian 8.2.0-21) 8.2.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/i2c/busses/i2c-amd-mp2-pci.c: In function 'amd_mp2_rw':
>> drivers/i2c/busses/i2c-amd-mp2-pci.c:105:3: error: implicit declaration of function 'writeq'; did you mean 'writel'? [-Werror=implicit-function-declaration]
writeq((u64)i2c_common->dma_addr,
^~~~~~
writel
cc1: some warnings being treated as errors
vim +105 drivers/i2c/busses/i2c-amd-mp2-pci.c
88
89 int amd_mp2_rw(struct amd_i2c_common *i2c_common, enum i2c_cmd reqcmd)
90 {
91 struct amd_mp2_dev *privdata = i2c_common->mp2_dev;
92 union i2c_cmd_base i2c_cmd_base;
93
94 amd_mp2_cmd_rw_fill(i2c_common, &i2c_cmd_base, reqcmd);
95 amd_mp2_c2p_mutex_lock(i2c_common);
96
97 if (i2c_common->msg->len <= 32) {
98 i2c_cmd_base.s.mem_type = use_c2pmsg;
99 if (reqcmd == i2c_write)
100 memcpy_toio(privdata->mmio + AMD_C2P_MSG2,
101 i2c_common->msg->buf,
102 i2c_common->msg->len);
103 } else {
104 i2c_cmd_base.s.mem_type = use_dram;
> 105 writeq((u64)i2c_common->dma_addr,
106 privdata->mmio + AMD_C2P_MSG2);
107 }
108
109 return amd_mp2_cmd(i2c_common, i2c_cmd_base);
110 }
111 EXPORT_SYMBOL_GPL(amd_mp2_rw);
112
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (66575 bytes)
Powered by blists - more mailing lists