diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-29 14:10:44 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-29 14:10:44 -0800 |
commit | 555bdaefd52c386e79f98591810ceb8bab780398 (patch) | |
tree | 3a17d5adc23b6a183d9009f0072519129de3e075 /drivers/edac/mce_amd_inj.c | |
parent | 1bfe4eefe530f97c1625982d754908f33acf308d (diff) | |
parent | 5989f11ba11c72f98d57580b991418d9ff6a207d (diff) | |
download | lwn-555bdaefd52c386e79f98591810ceb8bab780398.tar.gz lwn-555bdaefd52c386e79f98591810ceb8bab780398.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
EDAC: Fix typos in Documentation/edac.txt
EDAC, MCE: Fix edac_init_mce_inject error handling
EDAC: Remove deprecated kbuild goal definitions
Diffstat (limited to 'drivers/edac/mce_amd_inj.c')
-rw-r--r-- | drivers/edac/mce_amd_inj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/mce_amd_inj.c b/drivers/edac/mce_amd_inj.c index 8d0688f36d4c..39faded3cadd 100644 --- a/drivers/edac/mce_amd_inj.c +++ b/drivers/edac/mce_amd_inj.c @@ -139,7 +139,7 @@ static int __init edac_init_mce_inject(void) return 0; err_sysfs_create: - while (i-- >= 0) + while (--i >= 0) sysfs_remove_file(mce_kobj, &sysfs_attrs[i]->attr); kobject_del(mce_kobj); |