OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
|
history
diff --git
a/scripts/mod/file2alias.c
b/scripts/mod/file2alias.c
index
491b8b1
..
4eea60b
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);