Re: Fw: Oops in hidinput_hid_event

From: Pete Zaitcev
Date: Mon Jul 25 2005 - 23:14:18 EST


On Mon, 25 Jul 2005 20:52:26 -0700, Andrew Morton <akpm@xxxxxxxx> wrote:

> Do you expect this patch:
>
> > --- linux-2.6.12/drivers/usb/input/hid-input.c 2005-06-21 12:58:47.000000000 -0700
> > - struct input_dev *input = &field->hidinput->input;
> > + struct input_dev *input;
> > - if (!input)
> > + if (!field->hidinput)
> > return;
> > + input = &field->hidinput->input;

> To actually fix the above oops? It sure looks like it will.
> But I worry whether it is the correct fix?

It is a correct fix, safe to apply. However, Vojtech wrote me that he
will look how exactly an event can be reported without associated
infrastructure. Personally, I suspect that this has something to do
with the motherboard in question. Perhas the PS/2 port is disabled
somehow...

-- Pete
-
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/