From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF634C433B4 for ; Mon, 17 May 2021 23:42:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8E6A461185 for ; Mon, 17 May 2021 23:42:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344553AbhEQXni (ORCPT ); Mon, 17 May 2021 19:43:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:33268 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235483AbhEQXnh (ORCPT ); Mon, 17 May 2021 19:43:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8917860FD7; Mon, 17 May 2021 23:42:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621294940; bh=aqMfkK7qEIfU5V+cQq42a7rIqTso5yLBwzqvz3YnN9I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=amicfxHVxgpl38tNps7BF/ynRUXkGhFrgSV4XMxeTkVODBrFBcJRKL6n09lLuIrS+ xIw20mOPh8EeBeKuHeVTHHimPewY9bAPCQcldJjBnA0squ5L0iuZDBiEyMFAMT0ANE U0Zjhb/pacYrzHeABcZ73s9K8sLpC/InXrS3F/jrxCUBTEVF0lqNzSpcr1DBme2wUD PkuWlw20qxGFRcNe4Mk/758lik+MNEivTschfixT1/Xotuh08Ha7Yu3cEVwRZsH1Ro AWO49smwGGhxkpUFVSCttBGbfL/DHbWZru1ncovjcelr//APi+THWO3OBbLV3afBAb IX0sVDBlu2mvA== Date: Tue, 18 May 2021 08:42:17 +0900 From: Masami Hiramatsu To: Steven Rostedt Cc: LKML , Ingo Molnar , Devin Moore Subject: Re: [PATCH 1/4] bootconfig: Change array value to use child node Message-Id: <20210518084217.3d27aa5c3d75255ffc5777a3@kernel.org> In-Reply-To: <20210517112434.570fd87b@gandalf.local.home> References: <162117692155.9011.16682190750100804269.stgit@devnote2> <162117693103.9011.18172892676114426345.stgit@devnote2> <20210517112434.570fd87b@gandalf.local.home> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 May 2021 11:24:34 -0400 Steven Rostedt wrote: > On Sun, 16 May 2021 23:55:31 +0900 > Masami Hiramatsu wrote: > > > Change array value to use child node of the xbc_node tree > > instead of next node. > > Hi Masami, > > This says what you did, not why you did it. Can you add a comment about > what the purpose of this change was? Ah, yes. Actually, this is an internal (and intermediate) change. For co-existing a value with subkeys, the barrier is an array of the value, because both of subkeys and the array elements are using "next" field of the xbc_node. Thus this changes the array values to use "child" field in the array case. Thank you, > > Thanks! > > -- Steve > > > > > > Signed-off-by: Masami Hiramatsu > > --- > > tools/bootconfig/main.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > -- Masami Hiramatsu