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] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 3 Apr 2016 23:35:13 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Tomas Winkler <tomas.winkler@...el.com>
Cc:	kbuild-all@...org, gregkh@...uxfoundation.org,
	Ulf Hansson <ulf.hansson@...aro.org>,
	Adrian Hunter <adrian.hunter@...el.com>,
	James Bottomley <James.Bottomley@...senPartnership.com>,
	"Martin K. Petersen" <martin.petersen@...cle.com>,
	Vinayak Holikatti <vinholikatti@...il.com>,
	Christoph Hellwig <hch@....de>,
	Yaniv Gardi <ygardi@...eaurora.org>,
	Joao Pinto <Joao.Pinto@...opsys.com>,
	linux-mmc@...r.kernel.org, linux-scsi@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Tomas Winkler <tomas.winkler@...el.com>
Subject: Re: [PATCH 5/8] char: rpmb: add RPMB simulation device

Hi Tomas,

[auto build test WARNING on char-misc/char-misc-testing]
[also build test WARNING on v4.6-rc2 next-20160401]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Tomas-Winkler/Replay-Protected-Memory-Block-RPMB-subsystem/20160403-174929
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/char/rpmb/rpmb_sim.c: In function 'rpmb_sim_calc_hmac':
>> drivers/char/rpmb/rpmb_sim.c:164:1: warning: 'rpmb_sim_calc_hmac' uses dynamic stack allocation
    }
    ^

vim +/rpmb_sim_calc_hmac +164 drivers/char/rpmb/rpmb_sim.c

   148	
   149		ret = crypto_shash_init(desc);
   150		if (ret)
   151			goto out;
   152	
   153		for (i = 0; i < blks; i++) {
   154			ret = crypto_shash_update(desc, frames[i].data, hmac_data_len);
   155			if (ret)
   156				goto out;
   157		}
   158		ret = crypto_shash_final(desc, mac);
   159	out:
   160		if (ret)
   161			dev_err(rsdev->dev, "digest error = %d", ret);
   162	
   163		return ret;
 > 164	}
   165	
   166	static int rpmb_op_not_programmed(struct rpmb_sim_dev *rsdev,
   167					  struct rpmb_data *rpmbd)
   168	{
   169		struct rpmb_frame *in_frame, *out_frame;
   170		u16 req;
   171	
   172		in_frame = &rpmbd->in_frames[0];

---
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" (40610 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ