diff options
author | Chris Packham <judge.packham@gmail.com> | 2021-02-01 20:14:11 +1300 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2021-02-02 22:01:21 +1300 |
commit | 5263bf8339a07a967f0a923d237e8a36d20439fc (patch) | |
tree | c2f820fec1979ce69d24edb06a12d7ec989a22a5 /kconfig/symbol.c | |
parent | 30bffa96b215a16c3adc88446d3d2ecc66d4450b (diff) | |
download | crosstool-ng-5263bf8339a07a967f0a923d237e8a36d20439fc.tar.gz crosstool-ng-5263bf8339a07a967f0a923d237e8a36d20439fc.tar.bz2 crosstool-ng-5263bf8339a07a967f0a923d237e8a36d20439fc.zip |
kconfig: Sync with upstream v5.8
09d5873e4d1f kconfig: allow only 'config', 'comment', and 'if' inside 'choice'
644a4b6cecc2 kconfig: do not assign a variable in the return statement
cfc6eea9f6af kconfig: do not use OR-assignment for zero-cleared structure
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'kconfig/symbol.c')
-rw-r--r-- | kconfig/symbol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfig/symbol.c b/kconfig/symbol.c index 3dc81397..9363e37b 100644 --- a/kconfig/symbol.c +++ b/kconfig/symbol.c @@ -831,7 +831,7 @@ struct symbol *sym_lookup(const char *name, int flags) memset(symbol, 0, sizeof(*symbol)); symbol->name = new_name; symbol->type = S_UNKNOWN; - symbol->flags |= flags; + symbol->flags = flags; symbol->next = symbol_hash[hash]; symbol_hash[hash] = symbol; |