summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-07-01 09:35:49 +0200
committerIngo Molnar <mingo@kernel.org>2016-07-01 09:35:49 +0200
commit35c88cabb17937c0a500f82d580c3db48c742dd4 (patch)
treef5fed9283be58e42409cb4902c63308fe5452750 /scripts
parent8eda072e9d7c3429a372e3635dc5851f4a42dee1 (diff)
parent1ead852dd88779eda12cb09cc894a03d9abfe1ec (diff)
Merge branch 'x86/urgent' into x86/cpu, to pick up dependent fix
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mod/file2alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c
index a9155077feef..fec75786f75b 100644
--- a/scripts/mod/file2alias.c
+++ b/scripts/mod/file2alias.c
@@ -384,7 +384,7 @@ static void do_of_entry_multi(void *symval, struct module *mod)
len = sprintf(alias, "of:N%sT%s", (*name)[0] ? *name : "*",
(*type)[0] ? *type : "*");
- if (compatible[0])
+ if ((*compatible)[0])
sprintf(&alias[len], "%sC%s", (*type)[0] ? "*" : "",
*compatible);