lkml.org 
[lkml]   [2005]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectPrototype error in <linux/debugfs.h>
    Date
    To lazy to write a patch, the inline debugfs function declaration
    for the following three functions disagree between CONFIG_DEBUG_FS
    and !CONFIG_DEBUG_FS

    4th argument mismatch, looks like an obvious copy-n-paste error.
    u16, u32, and u32?


    static inline struct dentry *debugfs_create_u16(const char *name, mode_t mode,
    struct dentry *parent,
    u8 *value)
    {
    return ERR_PTR(-ENODEV);
    }

    static inline struct dentry *debugfs_create_u32(const char *name, mode_t mode,
    struct dentry *parent,
    u8 *value)
    {
    return ERR_PTR(-ENODEV);
    }

    static inline struct dentry *debugfs_create_bool(const char *name, mode_t mode,
    struct dentry *parent,
    u8 *value)
    {
    return ERR_PTR(-ENODEV);
    }


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-04-12 10:39    [W:0.021 / U:32.964 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site