[lkml]   [2011]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] kconfig: Only generate config_is_xxx for bool and tristate options
    On Tue, May 17, 2011 at 05:35:32PM +0200, Michal Marek wrote:
    > For strings and integers, the config_is_xxx macros are useless and
    > sometimes misleading:
    > #define config_is_initramfs_source() 1

    I'm late with this comment....
    Could we introduce "config_is_foo" using a syntax that
    does not break grepability?

    Maybe a syntax like this?

    #ifdef CONFIG_FOO


    if (KCONFIG_FOO())

    Grepping for the use of a symbol is a very typical thing,
    so we should try to keep this.
    And with the suggested syntax above I expect fixdep to
    catch up both usage types.


     \ /
      Last update: 2011-05-17 21:55    [W:0.018 / U:25.784 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site