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]
Message-ID: <20160129204826.GA30177@obsidianresearch.com>
Date:	Fri, 29 Jan 2016 13:48:27 -0700
From:	Jason Gunthorpe <jgunthorpe@...idianresearch.com>
To:	Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Cc:	Peter Huewe <peterhuewe@....de>, tpmdd-devel@...ts.sourceforge.net,
	linux-kernel@...r.kernel.org
Subject: Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: fix control area resource
 mapping

On Thu, Jan 28, 2016 at 11:13:59PM -0800, Jarkko Sakkinen wrote:

> -	struct resource tmp = {};
> -
> -	tmp.start = start;
> -	tmp.end = start + size - 1;
> -	tmp.flags = IORESOURCE_MEM;
> +	struct resource new_res = {
> +		.start	= start,
> +		.end	= size - 1,

That isn't right.

Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ