Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4711437pxb; Tue, 5 Oct 2021 08:46:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnGnLm63huBJIWyqhVF4E4nqg+mbOxLLoBWnaDMvrBRf9eaGzN/B/DbfQunvV3hax+1fhW X-Received: by 2002:a17:90a:181:: with SMTP id 1mr4698673pjc.214.1633448811404; Tue, 05 Oct 2021 08:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633448811; cv=none; d=google.com; s=arc-20160816; b=QPJ0faduPXJSetS+YXciWA9fyyzg55JnoPejIGH34AEHE3T2SG0PHEfNVDccS9IqM8 JO9lIlqNzRYdqGky3AYNUc40uVzePecz11Jn46hrD0GQjMOmPXN2kS/zxL455WiYYzfD DHCl8z4EGMZA2jLuSk5RrMAoIft6Por5V3glu0AMQxixtQhT54uz0g5A1Xl7jgyPs+r8 PqU9MsyKSQvADFg6YjekI4+Dybdvn9TI//2JCgq9T07XMdcd7WrfROY1ajY7blclbTKj UvL6/88b0vQNQMaj4PoxmN0mUG8UobT1s+yVmsOU2NOvAlAnn4rLs9COqsfUF932Nkn/ Ju5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=7KHzNJArunt+AsZQcYX78r05TGgrRkmM/OebmoHU69I=; b=pmtE5HZEDWBhkQvyeekaS+ldsoWysCl7ccfq2R7OK25ATN+JraG1DUZLVpDPqLwuXR RyJ+vH1igZShAFteHcTvUlnQHQR5c7y8xjVI134FDc+WO3Mvs4BD9/rHUAWuzrSu6qrv NDCzBILw84gr8YbOvRYlKg2KlsCGd+IDfOuZrCUIgXz5XS19oWkRZbleoiqZp/5+qSXI aZhk9ajGH9pIW7yiypkhsfggiqQZ+ak5vZ5I6Qz+GoPLoUJJr4XHjjih9c4IhuuC2KoQ DM5HKq+lSSJowMYcI39UERrG+X7anVj3/Wf1LjIAFZXQNzbaZ2tKtt27WM28sBf7neXk Pfrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=YxT73IQ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a5si23038581pgj.431.2021.10.05.08.46.37; Tue, 05 Oct 2021 08:46:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=YxT73IQ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235942AbhJEPrK (ORCPT + 99 others); Tue, 5 Oct 2021 11:47:10 -0400 Received: from conssluserg-01.nifty.com ([210.131.2.80]:54006 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236225AbhJEPpg (ORCPT ); Tue, 5 Oct 2021 11:45:36 -0400 Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 195FhVOe018297; Wed, 6 Oct 2021 00:43:31 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 195FhVOe018297 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1633448612; bh=7KHzNJArunt+AsZQcYX78r05TGgrRkmM/OebmoHU69I=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=YxT73IQ81QudBOGAj4BAW5zoykIp0GNFGGa8drvpaWabJOEzytzaKrfnPO3GRaus7 pNv8h76mzquXi8aXMcbsLB7HSh8x9OPyCfIP6HJpUlhTfMrx+2+wIgaNEgBq/njWl5 SRpVHSo6a3eSd8KQDC2sKljYFk6rklTQ57eC70hxJLuzVHet5ajrB6fgLa4n9T6i/d 28YnXkHEN+DBIZnk795lNn9utPG6jCC7lTLNZW5SUW4GZRfgJFn4MOGBXrF9tNoN94 HldKvWTBdzQGyY9joM7cwZ585xreAl2cvq3DNAipnAxpGNIcNMHcQOs5sS0/u+i9+r MFqnraxFGLqPA== X-Nifty-SrcIP: [209.85.216.43] Received: by mail-pj1-f43.google.com with SMTP id np13so4440625pjb.4; Tue, 05 Oct 2021 08:43:31 -0700 (PDT) X-Gm-Message-State: AOAM5306jRA1p1pEPIdFlnvQjxkYd1iGQj6XdaKp+ulshoOQVfRDaGRj 38IT4MXDd27emopMNAEnZDwPeZUsZyJNnV9RHYM= X-Received: by 2002:a17:902:6b01:b0:13e:50bb:790f with SMTP id o1-20020a1709026b0100b0013e50bb790fmr5873181plk.42.1633448610986; Tue, 05 Oct 2021 08:43:30 -0700 (PDT) MIME-Version: 1.0 References: <20210920213957.1064-1-richard@nod.at> In-Reply-To: From: Masahiro Yamada Date: Wed, 6 Oct 2021 00:42:54 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] kconfig: Refactor sym_escape_string_value To: Richard Weinberger Cc: Linux Kernel Mailing List , Linux Kbuild mailing list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 27, 2021 at 9:36 PM Masahiro Yamada wrote: > > On Tue, Sep 21, 2021 at 6:42 AM Richard Weinberger wrote: > > > > sym_escape_string_value() can take a struct symbol directly > > and use sym_get_string_value() itself to obtain the string value. > > We will need struct symbol later for error reporting. > > > > Signed-off-by: Richard Weinberger > > --- > > I think this is a nice clean-up regardless of 2/2. > Applied to linux-kbuild. Thanks. > I changed my mind after all. I dropped this patch to clean up the code in a different way. -- Best Regards Masahiro Yamada