Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1703520rwd; Fri, 9 Jun 2023 00:31:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4RWGAeVmy+3p4Luae5k436J+CW8v3sIb2pq6xdN5emg6TwY3Vny9Wrn8wyiz14lm/EP8V7 X-Received: by 2002:a05:6a20:144a:b0:111:5017:8cb8 with SMTP id a10-20020a056a20144a00b0011150178cb8mr1304978pzi.4.1686295868708; Fri, 09 Jun 2023 00:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686295868; cv=none; d=google.com; s=arc-20160816; b=lI4G8tVHXY4heKoZBuX58aXB/HIL4tMI19MpqwTZlwUdyq2tR+Cn3mh/ApMGXkwxXi +kbvkdABSP6qJruq5oGN7KvmSZdZxAe6sHCT394oFKZ3qkDVqy7K8qYL+Lnw6/hq8GOQ B73iiLyQANWtkvb+Iz0kcgBoX1dhgaNXvOz6YQ04TPOR6gCu1zBs5nmRwBdsue5LyVMo rF02es8WSIrg0x2tL/CQceK7o2EfjMMhrPNLaT4E1tSehVO7BHUdhHeS0nlb3SDKK33b S/oDfWwhjaQ6vcX0DOaYxIDu9JL21jnS+T1Yroz8NSgTISh201jwdXLJiueL/u6P8plz yFig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=kyFsZ1UjDfl+6Xm895L91HDQsfrFb/TNPC96tZmCYRY=; b=mu4YvUddXPwXmsyXvomMrV6Pn984upJlOqlikO1zjlZ9ANW3/YrEoIJrM+8YNfLUyK Ld6uaGfrw33QtYPWxkFsWS4e4WVLcHXL7Qu6sDV2D6u9+OJkQoKgnlI/+b/b1GOr4jx/ zkeWGtiBB+zffSX9RR3XEFtMg2VhZ7pxeNDh/Db2toljG9DEvPc9K88kfQWY2kV9/oH6 duCte32RceEq3Lr4E6963dIJuBi6iILDarItODB6CoKBZMAKkzZZBUO7oerBiO1G+juc ilLgal3PX5LoLDxilPqeMXctqme2bdCgJuCADQ2twdyNNDQDUOif62S9y+G2G7mL6LkH Przw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CX1UKIRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j184-20020a638bc1000000b0053ff2caa766si2186985pge.550.2023.06.09.00.30.56; Fri, 09 Jun 2023 00:31:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CX1UKIRy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238620AbjFIHZk (ORCPT + 99 others); Fri, 9 Jun 2023 03:25:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230257AbjFIHZi (ORCPT ); Fri, 9 Jun 2023 03:25:38 -0400 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CDE11725 for ; Fri, 9 Jun 2023 00:25:37 -0700 (PDT) Received: by mail-yb1-xb2f.google.com with SMTP id 3f1490d57ef6-bad0c4f6f50so2172322276.1 for ; Fri, 09 Jun 2023 00:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686295536; x=1688887536; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kyFsZ1UjDfl+6Xm895L91HDQsfrFb/TNPC96tZmCYRY=; b=CX1UKIRyTXnjFO61leuUT0Z4M/6qUCPOZ+VPatcqAHojS+QasSSEEtevTBKekpzr9X 8PJeQydugevHD6Z3do5so5iAt27bHeiLIQhrPfHBeV5frLZhDtY7wfdBGD0y6D9lKN4D OOnM8aWmrxmRsriAApDMQqOfeCYle1uHNRPKwUdECISqKv2Y3OCXLZveMRQqC8pCkiCb H6bRT4fI84fwo3HArBC57usY1JXAchaaTVR5/J6LPTsvkaA06eOpZ4+UTFCa7Py6h6+T zYWpaD2dtCEJQNoheKZQj2JofLzhMdJq7xUV4ktBFUF4A3P5vjNRnjfbWn8J7Lr9dxuz cttA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686295536; x=1688887536; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kyFsZ1UjDfl+6Xm895L91HDQsfrFb/TNPC96tZmCYRY=; b=hORc3Zzy+f73tuOi+CiCbSCimijB79oQBRAZeXcW5L7VBiNNSf0690fX/RGFfHFMYm tXTIBCittHRl5J87zwOim7jkoUu83mj4yPABpNSOJkMyH1i4hfOOpDMta5QHpIfaowJl X3dcnc6bSxLEW25GEg+VlmtiPwbkfjlR1bs3Ds0eS03yN4NFN9cHixEMydHI904U1Hsf zljK2OTzJtiU5/PPAye6jXSPKdispq2gRzLjr0AC4wXqra4domsHLIzsb1BBmQIdIZ89 y9QpKwrGIHNYR3SCx9eeXeK/jSosD3WE7ZvxVk4xmOV7nfbkfb45+DrMGKIaHXr7tT2k QStg== X-Gm-Message-State: AC+VfDxOpDux1zR34svkV/cWigEO+O4pYY1AWwFmhMqav9XFzTWmpZQR e55Qa35cnjDOphKdYb/ZNyzPH5suzgBgr5TwYXr6nw== X-Received: by 2002:a25:54f:0:b0:bac:46f2:8d0f with SMTP id 76-20020a25054f000000b00bac46f28d0fmr2765832ybf.3.1686295536319; Fri, 09 Jun 2023 00:25:36 -0700 (PDT) MIME-Version: 1.0 References: <20230606070201.14249-1-luhongfei@vivo.com> In-Reply-To: <20230606070201.14249-1-luhongfei@vivo.com> From: Linus Walleij Date: Fri, 9 Jun 2023 09:25:25 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: nxp: Fix resource leaks in for_each_child_of_node() loops To: Lu Hongfei Cc: Chester Lin , NXP S32 Linux Team , "open list:PIN CONTROLLER - NXP S32" , open list , opensource.kernel@vivo.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 6, 2023 at 9:02=E2=80=AFAM Lu Hongfei wrot= e: > Ensure child node references are decremented properly in the error path. > > Signed-off-by: Lu Hongfei Patch applied. Yours, Linus Walleij