Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3669806pxu; Mon, 30 Nov 2020 07:58:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzGWyt/zSc+K4B9MFofDGq8nJH7lH926vbyEpOAuAN7R4QOAixE/VAJyicYPZiEar1k6y3P X-Received: by 2002:aa7:cfcd:: with SMTP id r13mr22711461edy.63.1606751895405; Mon, 30 Nov 2020 07:58:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606751895; cv=none; d=google.com; s=arc-20160816; b=fCesqPeLPTOJZR0pdlYC5qXojU1HqVOwI4ur9AfuTvZYbKmC06dq4OvQ1Np0LVxWZS K/cBfUXbZbOWr/cjIiqZpXdgGkcu+bhj2gRwTEtIbwD8WDnbY6XrMl1rP/wON163Stfa Q3sjNLO6PbQY8d5lN1gqkD4btpjmMy6yEcsDMZVBqaFhRjN/sTeDggHE5oK3RNKT3efn BGB1P/NzLABEnKpS2reXDxVkJL+FwLuI+VD9tfzk2uTMdU0g3AmF+Kfk95jIgW6VoXBL 7VAtpHoFZa2WmPFQ2E3A7fRxx8JLRBaIKt4E+JKmAfuz/VSuYPKHVNWvRpzbq0qG69je m+iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zesD9faGXKfbEuXEqSCTj0ccUc65wmLW/4/yHQTzcz8=; b=YDbIdUTxPHoMRSiNaBBydEhHRrf74mcCSa7bZerb0my4Mem0t9xwYPkf4BPXfCz+vz 9Z8GKHZE+4naZhw4cOUTUQ09sMGFlOsQlyzSiBNCRUdbYeiJ4xP7hi3ksK2S2R6MzqU6 3+9LYUj3GcAYujLwtB9Q9Tn0Ux1i7s4VSBd7vbKxW9NinH0/snDYoJZc0bTpNrTM8wo1 k/5qpMXXAZ6XqfN+QNtaeYTBqDPW13Y09ZCoHOuroBDHOl+Tq9QQ1mEdJIhTkpDJH5JQ iuGCH2D+VaOyNuw+2VZJtm+1Fpzki5mETsNhvuY9V/VMR7qI3TyiV48tyq23FznlkCMy 2SVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="gwYbeeA/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a13si3975431ejt.49.2020.11.30.07.57.51; Mon, 30 Nov 2020 07:58:15 -0800 (PST) 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=@gmail.com header.s=20161025 header.b="gwYbeeA/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727319AbgK3PzH (ORCPT + 99 others); Mon, 30 Nov 2020 10:55:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725870AbgK3PzG (ORCPT ); Mon, 30 Nov 2020 10:55:06 -0500 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30F38C0613CF; Mon, 30 Nov 2020 07:54:26 -0800 (PST) Received: by mail-pj1-x1044.google.com with SMTP id hk16so1621124pjb.4; Mon, 30 Nov 2020 07:54:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zesD9faGXKfbEuXEqSCTj0ccUc65wmLW/4/yHQTzcz8=; b=gwYbeeA/XiuwxzFx62fUnO9bSA3njd22Bk5f9nyDO0zFjG/1lX6PErcP1PbdLqERs5 EwycBG4MhmVMVJ1pkUwfgfDyiW2ObtOKz0UK2P2yKnu0WXJq+SrR+VH+6hHe9bo1gaXv PTYHbtuCmLx67iyaBJBYv+Hgnc6KoPyPUrx/RllA5pZEsKHaoguDtR8vl2T7b4nuzIJ8 j57dmNdquJ2l9RFQhN8EiQQThACmStIGPefWhR/3unU94ojTuAE9O9zISvWVrSgp7gvu WxgxPfwJFWhOIw6sL8i+CqfiHixuMKuV3W/sdGguLzgUACWFZaJVAI1KYPNGApjAJ9ey 05YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zesD9faGXKfbEuXEqSCTj0ccUc65wmLW/4/yHQTzcz8=; b=hZnD4aoWCdYu3e8eRKipJFLdkjdI6D69HlxxdFg8N906so7hEdE8rxQL2ZibyvZA8L mEnVtMjOJUGzQsncRICLnRuIbJVCZaLzWW99BRviypoqr/SNR8HZX9Ya+mrGyq0/01Wi jr15ggGM3MxBlgbSykYi8U2Wo9cuE29zziOJkgqQA9hgs9mH7enPkAeIBpO+hsizoK+q Nm0XXz1zRQlnzPNrWewD7+DkhelhlpGrGFVUdmV7/OGhtupL6VdGpYRuUfA+2IAa3iMu /CxWHqJ+h3mUJJg39yLOMvdbEdqehhgO05NJS66xrHBWpzs3N7gmNaSjXXGbWt05nm92 RsiQ== X-Gm-Message-State: AOAM531FKvZy53KB5uppNZAPDuuQF//FjsAJv5iGdHFKsJNAhx4fcy3C pCmrFoRqnvSvFOnwF95Wd7A= X-Received: by 2002:a17:90a:6346:: with SMTP id v6mr27184285pjs.162.1606751665709; Mon, 30 Nov 2020 07:54:25 -0800 (PST) Received: from localhost ([2409:10:2e40:5100:6e29:95ff:fe2d:8f34]) by smtp.gmail.com with ESMTPSA id 204sm17331660pfy.59.2020.11.30.07.54.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 07:54:24 -0800 (PST) Date: Tue, 1 Dec 2020 00:54:22 +0900 From: Sergey Senozhatsky To: Daniel Scally Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-media@vger.kernel.org, devel@acpica.org, rjw@rjwysocki.net, lenb@kernel.org, gregkh@linuxfoundation.org, mika.westerberg@linux.intel.com, andriy.shevchenko@linux.intel.com, linus.walleij@linaro.org, bgolaszewski@baylibre.com, wsa@kernel.org, yong.zhi@intel.com, sakari.ailus@linux.intel.com, bingbu.cao@intel.com, tian.shu.qiu@intel.com, mchehab@kernel.org, robert.moore@intel.com, erik.kaneda@intel.com, pmladek@suse.com, rostedt@goodmis.org, sergey.senozhatsky@gmail.com, linux@rasmusvillemoes.dk, kieran.bingham+renesas@ideasonboard.com, jacopo+renesas@jmondi.org, laurent.pinchart+renesas@ideasonboard.com, jorhand@linux.microsoft.com, kitakar@gmail.com, heikki.krogerus@linux.intel.com Subject: Re: [PATCH 08/18] lib/test_printf.c: Use helper function to unwind array of software_nodes Message-ID: References: <20201130133129.1024662-1-djrscally@gmail.com> <20201130133129.1024662-9-djrscally@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201130133129.1024662-9-djrscally@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (20/11/30 13:31), Daniel Scally wrote: > > Use the software_node_unregister_nodes() helper function to unwind this > array in a cleaner way. > > Acked-by: Petr Mladek > Reviewed-by: Andy Shevchenko > Suggested-by: Andy Shevchenko > Signed-off-by: Daniel Scally Reviewed-by: Sergey Senozhatsky -ss