Re: [PATCH 2/2] vsprintf: Add support for userspace strings

From: Joe Perches
Date: Sun May 10 2015 - 16:09:49 EST


On Sun, 2015-05-10 at 21:42 +0200, Richard Weinberger wrote:
> Add %pL format string to print userspace strings.
> It works like %s but does copy_from_user() instead
> of a memcpy().

I think this would be much simpler in a new
function rather than complicating string()


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