Re: ALSA: Remove subsystem-specific malloc (1/8)

From: Pekka J Enberg
Date: Fri Jun 11 2004 - 05:45:31 EST


Hi,

On 6/11/2004, "Takashi Iwai" <tiwai@xxxxxxx> wrote:
I don't think the shortcut is necessary, too.
By calling kmalloc with 0, the same behavior as kmalloc is
guaranteed.

Agreed. I'm wondering if the overflow case should set size to zero and call kmalloc() as well.

Pekka

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