Re: [Regression, 2.6.33-rc1->current git] NULL pointer inusb_serial_probe() introduced by the recent kfifo changes

From: Greg KH
Date: Wed Dec 23 2009 - 00:37:39 EST


On Wed, Dec 23, 2009 at 02:51:31AM +0100, Rafael J. Wysocki wrote:
> Hi,
>
> Something like the patch below is necessary to fix a new NULL pointer deref
> in usb_serial_probe() that appeared after the recent kfifo changes (in short,
> the kfifo changes modified the semantics of kfifo_alloc() that
> usb_serial_probe() reiled on).

What semantic changed? I thought that the kfifo patches came with
patches that also fixed up any changed that were needed. What went
wrong here?

Does your patch solve the oops?

thanks,

greg k-h
--
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/