diff options
author | Borislav Petkov <bp@suse.de> | 2016-09-12 10:59:41 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-13 16:23:14 +0300 |
commit | 7cc4ef8ed132e72ba44804cae3ddb2587ff757d6 (patch) | |
tree | dbaccd7723b8cf4cbe5a6701747f21bfc7817848 /drivers/bus/arm-ccn.c | |
parent | a884675b873a0185d2626d1f304987c94cef6d74 (diff) | |
download | linux-7cc4ef8ed132e72ba44804cae3ddb2587ff757d6.tar.xz |
x86/RAS/mce_amd_inj: Fix some W= warnings
In particular:
arch/x86/ras/mce_amd_inj.c: In function ‘prepare_msrs’:
arch/x86/ras/mce_amd_inj.c:249:13: warning: declaration of ‘i_mce’ shadows a global declaration [-Wshadow]
struct mce i_mce = *(struct mce *)info;
^~~~~
arch/x86/ras/mce_amd_inj.c: In function ‘init_mce_inject’:
arch/x86/ras/mce_amd_inj.c:453:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < ARRAY_SIZE(dfs_fls); i++) {
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/20160912075941.24699-16-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/bus/arm-ccn.c')
0 files changed, 0 insertions, 0 deletions