Messages in this thread Patch in this message | | | Date | Wed, 13 Jan 2010 12:57:12 +0100 | From | Christoph Egger <> | Subject | [PATCH] typo in kernel source (DEBUGFS) |
| |
Hi all!
As part of the VAMOS[0] research project at the University of Erlangen we're checking referential integrity between kernel KConfig options and in-code Conditional blocks.
While working on this we detected a spelling error in drivers/mfd/ab3100-otp.c which can be corrected using the attached patch.
Please keep me informed of this patch getting confirmed / merged so we can keep track of it.
Regards
Christoph Egger
[0] http://vamos1.informatik.uni-erlangen.de/ From 31f303b71011a42dcef569a5caf26ebb2eeb429e Mon Sep 17 00:00:00 2001 From: Christoph Egger <siccegge@stud.informatik.uni-erlangen.de> Date: Wed, 13 Jan 2010 12:47:05 +0100 Subject: [PATCH] CONFIG_DEBUG_FS wrongly written asl CONFIG_DEBUGFS
Following a already fixed documentation bug this code snippet wrongly uses CONFIG_DEBUGFS without the underscore before FS. This patch corrects the error. --- drivers/mfd/ab3100-otp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/ab3100-otp.c b/drivers/mfd/ab3100-otp.c index 0499b20..a04b53c 100644 --- a/drivers/mfd/ab3100-otp.c +++ b/drivers/mfd/ab3100-otp.c @@ -95,7 +95,7 @@ static int __init ab3100_otp_read(struct ab3100_otp *otp) * This is a simple debugfs human-readable file that dumps out * the contents of the OTP. */ -#ifdef CONFIG_DEBUGFS +#ifdef CONFIG_DEBUG_FS static int show_otp(struct seq_file *s, void *v) { struct ab3100_otp *otp = s->private; -- 1.6.3.3
| |