lkml.org 
[lkml]   [2010]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    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
    \
     
     \ /
      Last update: 2010-01-13 12:59    [W:2.742 / U:0.356 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site