summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/ksysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/ksysfs.c')
-rw-r--r--arch/x86/kernel/ksysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/ksysfs.c b/arch/x86/kernel/ksysfs.c
index 4b0592ca9e47..8c1cc08f514f 100644
--- a/arch/x86/kernel/ksysfs.c
+++ b/arch/x86/kernel/ksysfs.c
@@ -299,7 +299,7 @@ static int __init create_setup_data_nodes(struct kobject *parent)
return 0;
out_clean_nodes:
- for (j = i - 1; j > 0; j--)
+ for (j = i - 1; j >= 0; j--)
cleanup_setup_data_node(*(kobjp + j));
kfree(kobjp);
out_setup_data_kobj:
23c56e709'>certs: simplify empty certs creation in certs/MakefileMasahiro Yamada1-10/+11 2022-03-03certs: include certs/signing_key.x509 unconditionallyMasahiro Yamada1-16/+0 2022-01-23certs: Fix build error when CONFIG_MODULE_SIG_KEY is emptyMasahiro Yamada1-1/+1 2022-01-23certs: Fix build error when CONFIG_MODULE_SIG_KEY is PKCS#11 URIMasahiro Yamada1-1/+1 2022-01-08certs: move scripts/extract-cert to certs/Masahiro Yamada1-4/+9 2022-01-08kbuild: do not quote string values in include/config/auto.confMasahiro Yamada1-8/+2 2022-01-08certs: simplify $(srctree)/ handling and remove config_filename macroMasahiro Yamada1-19/+13 2022-01-08certs: remove misleading comments about GCC PRMasahiro Yamada1-2/+0 2022-01-08certs: refactor file cleaningMasahiro Yamada1-4/+5 2022-01-08certs: remove unneeded -I$(srctree) option for system_certificates.oMasahiro Yamada1-3/+0 2022-01-08certs: unify duplicated cmd_extract_certs and improve the logMasahiro Yamada1-6/+3 2022-01-08certs: use $< and $@ to simplify the key generation ruleMasahiro Yamada1-3/+2 2021-12-11certs: use if_changed to re-generate the key when the key type is changedMasahiro Yamada1-24/+6 2021-12-11certs: use 'cmd' to hide openssl output in silent builds more simplyMasahiro Yamada1-6/+6 2021-12-11certs: remove noisy messages while generating the signing keyMasahiro Yamada1-11/+0 2021-12-11certs: check-in the default x509 config fileMasahiro Yamada1-18/+6 2021-12-11certs: remove meaningless $(error ...) in certs/MakefileMasahiro Yamada1-3/+0 2021-08-23certs: Add support for using elliptic curve keys for signing modulesStefan Berger1-0/+13 2021-08-23certs: Trigger creation of RSA module signing key if it's not an RSA keyStefan Berger1-0/+8 2021-05-01Merge tag 'integrity-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+10 2021-04-26ima: ensure IMA_APPRAISE_MODSIG has necessary dependenciesNayna Jain1-0/+2 2021-04-09ima: enable signing of modules with build time generated keyNayna Jain1-0/+8 2021-03-11certs: Add ability to preload revocation certsEric Snowberg1-2/+17 2021-03-11certs: Move load_system_certificate_list to a common functionEric Snowberg1-1/+1 2019-01-06kbuild: remove redundant target cleaning on failureMasahiro Yamada1-1/+1 2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1 2017-07-14modsign: add markers to endif-statements in certs/MakefileJarkko Sakkinen1-3/+3 2017-04-03KEYS: Add a system blacklist keyringDavid Howells1-0/+6 2016-02-26modsign: hide openssl output in silent buildsArnd Bergmann1-14/+19 2015-08-14modsign: Handle signing key in source treeDavid Woodhouse1-54/+0 2015-08-14modsign: Use if_changed rule for extracting cert from module signing keyDavid Woodhouse1-2/+3 2015-08-14Move certificate handling to its own directoryDavid Howells1-0/+147