Re: [PATCH 0/3] Use kasprintf

From: Paulo Marques
Date: Mon Oct 18 2010 - 14:42:46 EST


Julia Lawall wrote:
> These patches convert a sequence of kmalloc and memcpy to use kasprintf
> instead.

Aren't these patches just a more convoluted way of doing a kstrdup?

I would imagine that a kasprintf would make more sense when the format
string is more complex than "%s", or am I missing something?

--
Paulo Marques - www.grupopie.com

"The face of a child can say it all, especially the
mouth part of the face."
--
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/