mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Cc: kbuild-all@01.org, Lee Jones <lee.jones@linaro.org>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Sebastian Reichel <sre@kernel.org>,
	Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Support Opensource <support.opensource@diasemi.com>
Subject: Re: [PATCH v6 3/6] power: Add support for DA9150 Fuel-Gauge
Date: Wed, 7 Oct 2015 02:50:59 +0800	[thread overview]
Message-ID: <201510070217.y6QdQJq9%fengguang.wu@intel.com> (raw)
In-Reply-To: <80d467703ba19bef12e9bcdd246e1de7bd33a8b1.1444059987.git.Adam.Thomson.Opensource@diasemi.com>

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

Hi Adam,

[auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore]

config: s390-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=s390 

All warnings (new ones prefixed by >>):

   drivers/power/da9150-fg.c: In function 'da9150_fg_read_attr.isra.4':
>> drivers/power/da9150-fg.c:108:1: warning: 'da9150_fg_read_attr.isra.4' uses dynamic stack allocation
    }
    ^

vim +108 drivers/power/da9150-fg.c

    92	static u32 da9150_fg_read_attr(struct da9150_fg *fg, u8 code, u8 size)
    93	
    94	{
    95		u8 buf[size];
    96		u8 read_addr;
    97		u32 res = 0;
    98		int i;
    99	
   100		/* Set QIF code (READ mode) */
   101		read_addr = (code & DA9150_QIF_CODE_MASK) | DA9150_QIF_READ;
   102	
   103		da9150_read_qif(fg->da9150, read_addr, size, buf);
   104		for (i = 0; i < size; ++i)
   105			res |= (buf[i] << (i * DA9150_QIF_BYTE_SIZE));
   106	
   107		return res;
 > 108	}
   109	
   110	static void da9150_fg_write_attr(struct da9150_fg *fg, u8 code, u8 size,
   111					 u32 val)
   112	
   113	{
   114		u8 buf[size];
   115		u8 write_addr;
   116		int i;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 38650 bytes --]

  parent reply	other threads:[~2015-10-06 18:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-05 16:03 [PATCH v6 0/6] " Adam Thomson
2015-10-05 16:03 ` [PATCH v6 1/6] mfd: da9150: Add support for Fuel-Gauge Adam Thomson
2015-10-05 16:03 ` [PATCH v6 2/6] mfd: da9150: Update DT bindings for Fuel-Gauge support Adam Thomson
2015-10-05 16:03 ` [PATCH v6 3/6] power: Add support for DA9150 Fuel-Gauge Adam Thomson
2015-10-05 16:10   ` Fabio Estevam
2015-10-06 18:50   ` kbuild test robot [this message]
2015-10-05 16:03 ` [PATCH v6 4/6] power: da9150: Add DT bindings documentation for Fuel-Gauge Adam Thomson
2015-10-05 16:03 ` [PATCH v6 5/6] mfd: da9150: Use relative paths in DT bindings document Adam Thomson
2015-10-05 16:03 ` [PATCH v6 6/6] mfd: da9150: Use DEFINE_RES_IRQ_NAMED() help macro for IRQ resource Adam Thomson

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=201510070217.y6QdQJq9%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=Adam.Thomson.Opensource@diasemi.com \
    --cc=dbaryshkov@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dwmw2@infradead.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kbuild-all@01.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=sameo@linux.intel.com \
    --cc=sre@kernel.org \
    --cc=support.opensource@diasemi.com \
    /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®