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:	Fri, 08 Jun 2012 11:16:19 -0700
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Hans Rosenfeld <hans.rosenfeld@....com>
CC:	tglx@...utronix.de, mingo@...e.hu, linux-kernel@...r.kernel.org,
	x86@...nel.org
Subject: Re: [PATCH 5/5] x86, cacheinfo, amd: fix reported cache parameters
 for family 0x10

On 06/07/2012 09:45 AM, Hans Rosenfeld wrote:
> +			unsigned int reg;
> +			pci_read_config_dword(nb->misc, 0x1d4, &reg);
> +			if ((reg & 0x3))
> +				assoc -= 8;
> +		}

/home/hpa/kernel/tip.x86-cpu/arch/x86/kernel/cpu/amd_cacheinfo.c: In
function ‘amd_cpuid4’:
/home/hpa/kernel/tip.x86-cpu/arch/x86/kernel/cpu/amd_cacheinfo.c:127:13:
warning: ‘reg’ may be used uninitialized in this function [-Wuninitialized]

Please don't send patchsets which introduce new warnings.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ