projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daedb3d
)
HID: fix bus endianity in file2alias
author
Jiri Slaby
<jirislaby@gmail.com>
Tue, 17 Feb 2009 11:38:36 +0000
(12:38 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 17 Feb 2009 12:25:01 +0000
(13:25 +0100)
Fix endianness of bus member of hid_device_id in modpost.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Reported-by: Nye Liu <nyet@mrv.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
scripts/mod/file2alias.c
patch
|
blob
|
blame
|
history
diff --git
a/scripts/mod/file2alias.c
b/scripts/mod/file2alias.c
index 491b8b1b6abf326cd1e018c813d14fbbd0402e0b..4eea60b1693e1173960f34e7c73927f5fe61fccb 100644
(file)
--- a/
scripts/mod/file2alias.c
+++ b/
scripts/mod/file2alias.c
@@
-210,6
+210,7
@@
static void do_usb_table(void *symval, unsigned long size,
static int do_hid_entry(const char *filename,
struct hid_device_id *id, char *alias)
{
+ id->bus = TO_NATIVE(id->bus);
id->vendor = TO_NATIVE(id->vendor);
id->product = TO_NATIVE(id->product);