Re: [PATCH 2/7] drivers/staging: Return -ENOMEM on memory allocationfailure

From: Julia Lawall
Date: Sun Oct 17 2010 - 14:45:07 EST


On Fri, 15 Oct 2010, Julia Lawall wrote:

> On Fri, 15 Oct 2010, walter harms wrote:
>
> > This looks like a case for kasprintf().
>
> OK, I will take a look at it.

Instead, I have found some other occurrences of kmalloc + memcpy that
could be kasprintf, so I have done them all in another patch series, with
the subject "Use kasprintf".

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