Messages in this thread Patch in this message | | | Subject | [PATCH 23/47] Fix bad struct hidinput initialization in hid-tmff.c | Date | Thu, 29 Jul 2004 16:09:55 +0200 | From | Vojtech Pavlik <> |
| |
You can pull this changeset from: bk://kernel.bkbits.net/vojtech/input
===================================================================
ChangeSet@1.1722.148.9, 2004-06-17 08:38:07+02:00, zinx@epicsol.org input: Fix bad struct hidinput initialization in hid-tmff.c Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |