Skip to content
  • Michal Marek's avatar
    kconfig: Make expr_copy() take a const argument · 17742dc7
    Michal Marek authored
    
    
    Fixes
    scripts/kconfig/expr.c: In function ‘expr_get_leftmost_symbol’:
    scripts/kconfig/expr.c:1026:2: warning: passing argument 1 of ‘expr_copy’ discards qualifiers from pointer target type
    scripts/kconfig/expr.c:67:14: note: expected ‘struct expr *’ but argument is of type ‘const struct expr *’
    
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    17742dc7