Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758235AbZCNBgp (ORCPT ); Fri, 13 Mar 2009 21:36:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754082AbZCNBUt (ORCPT ); Fri, 13 Mar 2009 21:20:49 -0400 Received: from kroah.org ([198.145.64.141]:35196 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753380AbZCNBU1 (ORCPT ); Fri, 13 Mar 2009 21:20:27 -0400 X-Mailbox-Line: From gregkh@mini.kroah.org Fri Mar 13 18:10:38 2009 Message-Id: <20090314011038.052964195@mini.kroah.org> User-Agent: quilt/0.48-1 Date: Fri, 13 Mar 2009 18:10:22 -0700 From: Greg KH To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , Willy Tarreau , Rodrigo Rubira Branco , Jake Edge , Eugene Teo , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Jiri Slaby , Jiri Kosina Subject: [patch 045/114] HID: fix bus endianity in file2alias References: <20090314010937.416083662@mini.kroah.org> Content-Disposition: inline; filename=hid-fix-bus-endianity-in-file2alias.patch In-Reply-To: <20090314011649.GA26170@kroah.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1091 Lines: 26 2.6.28-stable review patch. If anyone has any objections, please let us know. ------------------ From: Jiri Slaby commit 2b639386a2a26c84c8d26c649cf657ebd43a7bc8 upstream. Fix endianness of bus member of hid_device_id in modpost. Signed-off-by: Jiri Slaby Reported-by: Nye Liu Signed-off-by: Jiri Kosina Signed-off-by: Greg Kroah-Hartman --- scripts/mod/file2alias.c | 1 + 1 file changed, 1 insertion(+) --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c @@ -210,6 +210,7 @@ static void do_usb_table(void *symval, u 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); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/