From: kbuild test robot <lkp@intel.com>
To: Moritz Fischer <mdf@kernel.org>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
linux@roeck-us.net, lee.jones@linaro.org, bleung@chromium.org,
olof@lixom.net, Moritz Fischer <mdf@kernel.org>
Subject: Re: [PATCH] mfd: cros-ec: Add cros_ec_readmem() helpers for I2C/SPI based ECs
Date: Tue, 9 May 2017 13:56:14 +0800 [thread overview]
Message-ID: <201705091359.KEwXikan%fengguang.wu@intel.com> (raw)
In-Reply-To: <1494273491-7535-1-git-send-email-mdf@kernel.org>
Hi Moritz,
[auto build test WARNING on ljones-mfd/for-mfd-next]
[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/Moritz-Fischer/mfd-cros-ec-Add-cros_ec_readmem-helpers-for-I2C-SPI-based-ECs/20170509-040606
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: tile-allmodconfig
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
make.cross ARCH=tile allmodconfig
make.cross ARCH=tile
All warnings (new ones prefixed by >>):
vim +279 drivers/mfd/cros_ec.c
263 return 0;
264 }
265 EXPORT_SYMBOL(cros_ec_resume);
266
267 #endif
268
269 int cros_ec_readmem(struct cros_ec_device *ec, unsigned int offset,
270 unsigned int bytes, void *dest)
271 {
272 int ret;
273 struct ec_params_read_memmap *params;
274 struct cros_ec_command *msg;
275
276 if (offset >= EC_MEMMAP_SIZE - bytes)
277 return -EINVAL;
278
> 279 msg = kzalloc(sizeof(*msg) + max(sizeof(*params), bytes), GFP_KERNEL);
280 if (!msg)
281 return -ENOMEM;
282
283 msg->version = 0;
284 msg->command = EC_CMD_READ_MEMMAP;
285 msg->insize = bytes;
286 msg->outsize = sizeof(*params);
287
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
next prev parent reply other threads:[~2017-05-09 5:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-08 19:58 Moritz Fischer
2017-05-09 5:56 ` kbuild test robot [this message]
2017-05-09 16:34 ` Moritz Fischer
2017-05-09 17:33 ` Guenter Roeck
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=201705091359.KEwXikan%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=bleung@chromium.org \
--cc=kbuild-all@01.org \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mdf@kernel.org \
--cc=olof@lixom.net \
/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
all inboxes | Powered by JetHome®