lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 7 Oct 2015 02:50:59 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Adam Thomson <Adam.Thomson.Opensource@...semi.com>
Cc:	kbuild-all@...org, Lee Jones <lee.jones@...aro.org>,
	Samuel Ortiz <sameo@...ux.intel.com>,
	Sebastian Reichel <sre@...nel.org>,
	Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
	David Woodhouse <dwmw2@...radead.org>,
	Rob Herring <robh+dt@...nel.org>,
	Pawel Moll <pawel.moll@....com>,
	Mark Rutland <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	Kumar Gala <galak@...eaurora.org>, linux-pm@...r.kernel.org,
	devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
	Support Opensource <support.opensource@...semi.com>
Subject: Re: [PATCH v6 3/6] power: Add support for DA9150 Fuel-Gauge

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

Download attachment ".config.gz" of type "application/octet-stream" (38650 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ