projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/rockchip: fixup display reference count
[firefly-linux-kernel-4.4.55.git]
/
scripts
/
mod
/
file2alias.c
diff --git
a/scripts/mod/file2alias.c
b/scripts/mod/file2alias.c
index 5b96206e9aab833f9a666bc7cf52d57662929b3d..9f5cdd49ff0ba9ef470b97aa0e967c7a66bacfd1 100644
(file)
--- a/
scripts/mod/file2alias.c
+++ b/
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);