Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1589031 > unrolled thread

[PATCH] x86/kdebugfs: Move boot params hierarchy under (debugfs)/x86/

Started byBorislav Petkov <bp@alien8.de>
First post2017-02-28 00:00 +0100
Last post2017-02-28 00:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] x86/kdebugfs: Move boot params hierarchy under (debugfs)/x86/ Borislav Petkov <bp@alien8.de> - 2017-02-28 00:00 +0100

#1589031 — [PATCH] x86/kdebugfs: Move boot params hierarchy under (debugfs)/x86/

FromBorislav Petkov <bp@alien8.de>
Date2017-02-28 00:00 +0100
Subject[PATCH] x86/kdebugfs: Move boot params hierarchy under (debugfs)/x86/
Message-ID<tfCqT-3Po-35@gated-at.bofh.it>
From: Borislav Petkov <bp@suse.de>

... since this is all x86-specific data and it makes sense to have it
under x86/ logically instead in the toplevel debugfs dir.

Signed-off-by: Borislav Petkov <bp@suse.de>
---
 arch/x86/kernel/kdebugfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/kdebugfs.c b/arch/x86/kernel/kdebugfs.c
index c3d354d1c719..b4debd51dc4b 100644
--- a/arch/x86/kernel/kdebugfs.c
+++ b/arch/x86/kernel/kdebugfs.c
@@ -159,7 +159,7 @@ static int __init boot_params_kdebugfs_init(void)
 	struct dentry *dbp, *version, *data;
 	int error = -ENOMEM;
 
-	dbp = debugfs_create_dir("boot_params", NULL);
+	dbp = debugfs_create_dir("boot_params", arch_debugfs_dir);
 	if (!dbp)
 		return -ENOMEM;
 
-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web