public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] typo in kernel source (DEBUGFS)
@ 2010-01-13 11:57 Christoph Egger
  2010-01-13 12:05 ` Robert P. J. Day
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Christoph Egger @ 2010-01-13 11:57 UTC (permalink / raw)
  To: linux-kernel, Linus Walleij, sameo; +Cc: siccegge, Reinhard.Tartler

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

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/

[-- Attachment #2: 0001-CONFIG_DEBUG_FS-wrongly-written-asl-CONFIG_DEBUGFS.patch --]
[-- Type: text/x-diff, Size: 973 bytes --]

>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


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-01-15 16:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-13 11:57 [PATCH] typo in kernel source (DEBUGFS) Christoph Egger
2010-01-13 12:05 ` Robert P. J. Day
2010-01-13 13:15   ` Christoph Egger
2010-01-13 13:19     ` Robert P. J. Day
2010-01-13 15:01     ` Robert P. J. Day
2010-01-13 12:16 ` Robert P. J. Day
2010-01-14 10:07 ` Linus Walleij
2010-01-15 14:01   ` Jiri Kosina
2010-01-15 16:54     ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox