[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.1.10.0810271729200.12928@jikos.suse.cz>
Date: Mon, 27 Oct 2008 17:29:38 +0100 (CET)
From: Jiri Kosina <jkosina@...e.cz>
To: Jiri Slaby <jirislaby@...il.com>
cc: linux-kernel@...r.kernel.org,
Johannes Berg <johannes@...solutions.net>,
Andreas Schwab <schwab@...e.de>
Subject: Re: [PATCH 1/2] HID: don't oops on suspend of non-bound devices
On Mon, 27 Oct 2008, Jiri Slaby wrote:
> Usbhid structure is allocated on start invoked only from probe
> of some driver. When there is no driver, the structure is null
> and causes null-dereference oopses.
>
> Fix it by allocating the structure on probe and disconnect of
> the device itself. Also make sure we won't race between start
> and resume or stop and suspend respectively.
>
> References: http://bugzilla.kernel.org/show_bug.cgi?id=11827
Applied, thanks.
--
Jiri Kosina
SUSE Labs
--
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