Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751947AbbEJUMF (ORCPT ); Sun, 10 May 2015 16:12:05 -0400 Received: from a.ns.miles-group.at ([95.130.255.143]:65275 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751469AbbEJUMC (ORCPT ); Sun, 10 May 2015 16:12:02 -0400 Message-ID: <554FBB8F.3070204@nod.at> Date: Sun, 10 May 2015 22:11:59 +0200 From: Richard Weinberger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Joe Perches CC: akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] vsprintf: Add support for userspace strings References: <1431286936-4333-1-git-send-email-richard@nod.at> <1431286936-4333-3-git-send-email-richard@nod.at> <1431288580.29257.29.camel@perches.com> In-Reply-To: <1431288580.29257.29.camel@perches.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 602 Lines: 18 Am 10.05.2015 um 22:09 schrieb Joe Perches: > 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() -ENOPATCH. Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/