[PATCH 23/47] Fix bad struct hidinput initialization in hid-tmff.c
From: Vojtech Pavlik
Date: Thu Jul 29 2004 - 09:51:35 EST
You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input
===================================================================
ChangeSet@xxxxxxxxxxxx, 2004-06-17 08:38:07+02:00, zinx@xxxxxxxxxxx
input: Fix bad struct hidinput initialization in hid-tmff.c
Signed-off-by: Vojtech Pavlik <vojtech@xxxxxxx>
hid-tmff.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
===================================================================
diff -Nru a/drivers/usb/input/hid-tmff.c b/drivers/usb/input/hid-tmff.c
--- a/drivers/usb/input/hid-tmff.c Thu Jul 29 14:40:32 2004
+++ b/drivers/usb/input/hid-tmff.c Thu Jul 29 14:40:32 2004
@@ -110,7 +110,7 @@
{
struct tmff_device *private;
struct list_head *pos;
- struct hid_input *hidinput = list_entry(&hid->inputs, struct hid_input, list);
+ struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list);
private = kmalloc(sizeof(struct tmff_device), GFP_KERNEL);
if (!private)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/