Re: [PATCH 5/5] x86, cacheinfo, amd: fix reported cache parametersfor family 0x10
From: H. Peter Anvin
Date: Fri Jun 08 2012 - 14:16:30 EST
On 06/07/2012 09:45 AM, Hans Rosenfeld wrote:
> + unsigned int reg;
> + pci_read_config_dword(nb->misc, 0x1d4, ®);
> + 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/