[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20060923002934.GD29920@ftp.linux.org.uk>
Date: Sat, 23 Sep 2006 01:29:34 +0100
From: Al Viro <viro@....linux.org.uk>
To: gregkh@....linux.org.uk
Cc: linux-kernel@...r.kernel.org, Linus Torvalds <torvalds@...l.org>
Subject: [PATCH] fallout from hcd-core patch
missing le16_to_cpu()
Signed-off-by: Al Viro <viro@...iv.linux.org.uk>
---
drivers/usb/input/hid-core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c
index a2c56b2..3305fb6 100644
--- a/drivers/usb/input/hid-core.c
+++ b/drivers/usb/input/hid-core.c
@@ -1818,7 +1818,7 @@ static struct hid_device *usb_hid_config
int n, len, insize = 0;
/* Ignore all Wacom devices */
- if (dev->descriptor.idVendor == USB_VENDOR_ID_WACOM)
+ if (le16_to_cpu(dev->descriptor.idVendor) == USB_VENDOR_ID_WACOM)
return NULL;
for (n = 0; hid_blacklist[n].idVendor; n++)
--
1.4.2.GIT
-
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