[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1234870528-24562-1-git-send-email-jirislaby@gmail.com>
Date: Tue, 17 Feb 2009 12:35:28 +0100
From: jirislaby@...il.com
To: jkosina@...e.cz
Cc: linux-input@...r.kernel.org, nyet@....com,
linux-kernel@...r.kernel.org, Jiri Slaby <jirislaby@...il.com>
Subject: [PATCH 1/1] HID: fix bus handling in scripts/mod/file2alias.c
From: Jiri Slaby <jirislaby@...il.com>
Fix endianness of bus member of hid_device_id in modpost.
Signed-off-by: Jiri Slaby <jirislaby@...il.com>
Reported-by: Nye Liu <nyet@....com>
Cc: Jiri Kosina <jkosina@...e.cz>
---
scripts/mod/file2alias.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c
index 82a1011..a334428 100644
--- 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);
--
1.6.1.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists