Re: [PATCH] Convert dmasound_awacs to dynamic input_dev allocation

From: Dmitry Torokhov
Date: Mon Oct 31 2005 - 22:17:04 EST


On Monday 31 October 2005 21:03, Ian Wienand wrote:
> Hi,
>
> This patch converts sound/oss/dmasound/dmasound_awacs.c to use dynamic
> input_dev allocation, stopping an oops on boot with the latest
> kernels.
>

Oh, I see that the piece of code that bitches about device not being
dynamically allocated and bails out was lost on its way to Linus...
Will resend shortly...

> + awacs_beep_dev = input_allocate_device();

We really need to check whether device was allocated here...

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