Re: [BUG: 2.6.22-rc2] SLAB doesn't like usb_get_configuration()

Christoph Lameter
2007-05-19T18:20:52Z

On Sat, 19 May 2007, Indan Zupancic wrote:

> I had two SLAb related bugs, both with usb_get_configuration()
> near the end of the backtrace. First one was with git between
> rc1 and rc2, but very close to rc2, second one was with rc2,
> both at bootup.

Well usb_get_configuration seems to do a kmalloc(0) which is a bit
strange and this is why we flagged the allocation in the slab allocators.
Is there some way to avoid allocating an object of zero length?