Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp7274980imm; Sun, 20 May 2018 23:16:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqEHuwFXppXJLKCwAVCmZ8/HZHMWlRKjf4lGRxDkDlgSSSafg1QzghWd/EAaqDyUKbyMHFa X-Received: by 2002:a65:6496:: with SMTP id e22-v6mr14769390pgv.386.1526883411528; Sun, 20 May 2018 23:16:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526883411; cv=none; d=google.com; s=arc-20160816; b=mctj1tp34T8b+kiJep2G+4TiG1SUp+7R64QUsitgap+HUu3P7cOBPc2UhS3NXpAxNY 6sfM3s5KkdRUIHZIhL20JA2bCIUabCGNJEfOP/YEAUacBndYCrj1XYv/Xq5iUXZQLSjx OXIuSRZGoqnu+4Nlb2xb6+nKGdShSBFGE8va9djql4pNDxAcmTNB06UUXhAXryRNya8i aRKGPLesbZNiM/iWQ7/pLbicmuBwHSBTuL3Ww3oZQYmvanEWUHJPqgD9qGOsQPJ3YSEq iSyadxQSmmATERh4I6yIYLK5VK2HmRJTZNYTOXqWT+ks6zzPXKeSfmFce3U13FVzGBVK 2CPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=RJvWcbsAzaacfMzHhY7ssfQfxg5Lh3iK0TsctNqDUP4=; b=xVkKlNGZvVGycSliT8DgfhQ95/WSgGX1AHtGjCtMxbEqUb2XzFl1b+V5lDneWRGj1t K9f0bufNAbsTxACsOm50eePUKCNwa+wN7pGEeX40s1joOJmk6OuQgAxviLd5g6PLvr/T stiPRswryihb3Jspb+7mTDontUQmBvt7FwDRT/mT7FPs4MPtVoE4ZmHd1meM/80j5F+3 iU57KMlWsqZS0zwY+6NKOrvKkFJTGO8QTn+HZl3ISmVd/DYb6GpCTfZ+T2yFNb0+hlfp MWbf2MkS2gvir36D7+vNXRBvhiLKt3lV5nRFBRy+wXXpcy3AIm2IeR+vaKwsGZgGf8XP Om0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n4-v6si10646510pgn.691.2018.05.20.23.16.37; Sun, 20 May 2018 23:16:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751116AbeEUGQU (ORCPT + 99 others); Mon, 21 May 2018 02:16:20 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:38021 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751069AbeEUGQR (ORCPT ); Mon, 21 May 2018 02:16:17 -0400 Received: from ravnborg.org (unknown [158.248.196.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 0E4DD20034; Mon, 21 May 2018 08:16:14 +0200 (CEST) Date: Mon, 21 May 2018 08:16:13 +0200 From: Sam Ravnborg To: Masahiro Yamada Cc: Linux Kbuild mailing list , Linus Torvalds , Ulf Magnusson , "Luis R . Rodriguez" , Linux Kernel Mailing List , Nicholas Piggin , Kees Cook , Emese Revfy , X86 ML Subject: Re: [PATCH v4 07/31] kconfig: add built-in function support Message-ID: <20180521061613.GA21232@ravnborg.org> References: <1526537830-22606-1-git-send-email-yamada.masahiro@socionext.com> <1526537830-22606-8-git-send-email-yamada.masahiro@socionext.com> <20180520145031.GB9826@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=dqr19Wo4 c=1 sm=1 tr=0 a=ddpE2eP9Sid01c7MzoqXPA==:117 a=ddpE2eP9Sid01c7MzoqXPA==:17 a=kj9zAlcOel0A:10 a=VwQbUJbxAAAA:8 a=VQqBGyW1TzL2JzSGRtYA:9 a=CjuIK1q_8ugA:10 a=AjGcO6oz07-iQ99wixmX:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masahiro > >> + char *(*func)(int argc, char *argv[], int old_argc, char *old_argv[]); > >> +}; > > If a typedef was provided for the function then ... > > > Yes, I can do this, > but I may rather consider to simplify the code. Simplify is better. > > Will the following be equal: > > > > $(foo,abc,$(x),$(y)) > > $(foo, abc, $(x), $(y)) > > > > make is rather annoying as space is significant, but there seems no good reason > > for kconfig to inheritate this. > > So unless there are good arguments consider alloing the spaces. > > If the current implmentation already supports optional spaces then I just missed > > it whie reviewing. > > > I have been thinking of trimming the leading whitespaces. > (https://patchwork.kernel.org/patch/10405549/) > > This is trade-off vs "how to pass spaces as arguments?" Maybe allow strings to be passed enclosed in ""? Then it is simple to add whitespace. But the use of "" should be optional in all other cases. And the "" should be stripped. Sam