From mboxrd@z Thu Jan 1 00:00:00 1970 From: jirislaby@gmail.com Subject: [PATCH 1/1] HID: fix bus handling in scripts/mod/file2alias.c Date: Tue, 17 Feb 2009 12:35:28 +0100 Message-ID: <1234870528-24562-1-git-send-email-jirislaby@gmail.com> Return-path: Received: from cantor2.suse.de ([195.135.220.15]:51198 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377AbZBQLf1 (ORCPT ); Tue, 17 Feb 2009 06:35:27 -0500 Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: jkosina@suse.cz Cc: linux-input@vger.kernel.org, nyet@mrv.com, linux-kernel@vger.kernel.org, Jiri Slaby From: Jiri Slaby Fix endianness of bus member of hid_device_id in modpost. Signed-off-by: Jiri Slaby Reported-by: Nye Liu Cc: Jiri Kosina --- 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