Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
scripts
/
mod
/
file2alias.c
diff --git
a/kernel/scripts/mod/file2alias.c
b/kernel/scripts/mod/file2alias.c
index
5b96206
..
9f5cdd4
100644
(file)
--- a/
kernel/scripts/mod/file2alias.c
+++ b/
kernel/scripts/mod/file2alias.c
@@
-695,7
+695,7
@@
static int do_of_entry (const char *filename, void *symval, char *alias)
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);