From: kbuild test robot <lkp@intel.com>
To: Luca Ceresoli <lucaceresoli77@gmail.com>
Cc: kbuild-all@01.org, linux-i2c@vger.kernel.org,
linux-kernel@vger.kernel.org,
Luca Ceresoli <luca@lucaceresoli.net>,
Peter Rosin <peda@axentia.se>, Wolfram Sang <wsa@the-dreams.de>
Subject: Re: [PATCH] i2c: mux: remove duplicated i2c_algorithm
Date: Thu, 27 Sep 2018 01:52:33 +0800 [thread overview]
Message-ID: <201809270127.P2VKXe2q%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180926084052.22379-1-lucaceresoli77@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1525 bytes --]
Hi Luca,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v4.19-rc5 next-20180926]
[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/Luca-Ceresoli/i2c-mux-remove-duplicated-i2c_algorithm/20180926-200605
config: x86_64-randconfig-u0-09270057 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
In file included from drivers/i2c/muxes/i2c-mux-ltc4306.c:15:0:
>> include/linux/i2c-mux.h:39:23: error: field 'algo' has incomplete type
struct i2c_algorithm algo;
^
vim +/algo +39 include/linux/i2c-mux.h
31
32 struct i2c_mux_core {
33 struct i2c_adapter *parent;
34 struct device *dev;
35 unsigned int mux_locked:1;
36 unsigned int arbitrator:1;
37 unsigned int gate:1;
38
> 39 struct i2c_algorithm algo;
40 void *priv;
41
42 int (*select)(struct i2c_mux_core *, u32 chan_id);
43 int (*deselect)(struct i2c_mux_core *, u32 chan_id);
44
45 int num_adapters;
46 int max_adapters;
47 struct i2c_adapter *adapter[0];
48 };
49
---
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: 29472 bytes --]
prev parent reply other threads:[~2018-09-26 17:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-26 8:40 [PATCH] i2c: mux: remove duplicated i2c_algorithm Luca Ceresoli
2018-09-26 17:52 ` kbuild test robot [this message]
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=201809270127.P2VKXe2q%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca@lucaceresoli.net \
--cc=lucaceresoli77@gmail.com \
--cc=peda@axentia.se \
--cc=wsa@the-dreams.de \
/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