From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3xdNbX1s8szDqgq for ; Thu, 24 Aug 2017 22:17:44 +1000 (AEST) Date: Thu, 24 Aug 2017 14:17:39 +0200 From: msuchanek To: Michael Ellerman Cc: Benjamin Herrenschmidt , Paul Mackerras , Jonathan Corbet , Jessica Yu , Rusty Russell , Jason Baron , Hari Bathini , Mahesh J Salgaonkar , Daniel Axtens , Andrew Morton , Thiago Jung Bauermann , Balbir Singh , Nicholas Piggin , Michael Neuling , "Aneesh Kumar K.V" , Christophe Leroy , Scott Wood , Oliver O'Halloran , David Howells , Sylvain 'ythier' Hitier , Ingo Molnar , Kees Cook , Thomas Gleixner , "Steven Rostedt\," , Viresh Kumar , Tejun Heo , Lokesh Vutla , Baoquan He , Ilya Matveychikov , linuxppc-dev@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 4/4] boot/param: add pointer to next argument to unknown parameter callback Message-ID: <20170824141739.190826e4@naga> In-Reply-To: <87shghusz0.fsf@concordia.ellerman.id.au> References: <78655b3689f6cd0c76b787b8ef2c824ef75a99a5.1503000577.git.msuchanek@suse.de> <6378df7aed5bb23863d7762d7dc2babdd5e32a45.1503000577.git.msuchanek@suse.de> <87shghusz0.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 24 Aug 2017 21:04:51 +1000 Michael Ellerman wrote: > Michal Suchanek writes: > > > The fadump parameter processing re-does the logic of next_arg quote > > stripping to determine where the argument ends. Pass pointer to the > > next argument instead to make this more robust. > > > > Signed-off-by: Michal Suchanek > > --- > > arch/powerpc/kernel/fadump.c | 13 +++++-------- > > arch/powerpc/mm/hugetlbpage.c | 4 ++-- > > include/linux/moduleparam.h | 2 +- > > init/main.c | 12 ++++++------ > > kernel/module.c | 4 ++-- > > kernel/params.c | 19 +++++++++++-------- > > lib/dynamic_debug.c | 2 +- > > 7 files changed, 28 insertions(+), 28 deletions(-) > > Can you split out a patch that adds the next argument and updates the > callers. And then a patch for the fadump to use the new arg. > > cheers Yes, that makes sense. Thanks Michal