Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1689859lqm; Fri, 3 May 2024 03:43:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWcuAl+NcIEoafZ/k98qNPlpm0IgL7g9zzu8+kEi+M8Dic2PAexx3uK+i+/9kynjhhuAq7QH5JlaKF4fQpKHHK4Yl7ieugjGBXcCiSisA== X-Google-Smtp-Source: AGHT+IEEQ7FmvVmjvvYUSPqyEEIVQNP4WAJ4UIdciE2wbGm+MAu3dBmI/qSEfeb/zyr+EFr+7s+b X-Received: by 2002:a05:6a00:1ad1:b0:6f3:e6ac:5703 with SMTP id f17-20020a056a001ad100b006f3e6ac5703mr6824027pfv.0.1714732980758; Fri, 03 May 2024 03:43:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714732980; cv=pass; d=google.com; s=arc-20160816; b=0aJkiGi83PKia2lvij/TiY5xFTHhTIaAtTwpCH2ZVzvP3wfIKkKi6Rpq9CdqvqxMRW AxyytyzSRhWfoxVd2F9LkJ7XrBLxRLmmsky1KtZmpt5GK/qeLWhtle1p7EdxLzUH9h9P eB1tiXrZUBc9+OsRglWnaR3yOLYnNlGhWZlMMRJ+BkeAvHwZcewfCVZ5sdoMVBvixqVr d7STp2E9uwvRKjD196EumV+cT1BigKr/HT0LSwLFVi/vr4X6v0Tk0Rm67iPW350t1odM kfiIjbShaQzUy4h7noHIRIf847wzNLKu04Ggtj8gF6Qq9Iw1HQDZz1hZc8BX/bLmgG1B SIvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from; bh=2cR+C3sFs/G6KYF52iAIqxiR5mq427zjLYzxHfili+8=; fh=VhwLbpj58uwrCMN7tLFX9W4hSgU2CA7evz5jnufiau0=; b=K2I1zldGN9i8/NlOjRN9Eyc95ushymDtwhiXcaBCCdkmHHuVhAvwRdBkC7bsHRlb1b Cu2Vnz8zB1mF4Vh42M7BpfpUcmPiTLDKSWXLTl68GaMwdFx8RWrmB5fr2GRVUQ4d0yor JLd3duRGvG1bheRYGqs7aBzlsOiXp+vle8b4IlXE08vzs1S5WIFxoAzdwClE5d4EDw01 bgmvBqP6hWJH2guEHvnGlow3U60/+t5witS52C0ljiYI/DsOOZuDRMtQ+EDF+ZmvMoHf Zlbfzch1svSmrQuPVURK7arSnrnvXPpBLnMjhuDw5h5CvkuILn94zSgl03zgjQLn5aE7 tdXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-167530-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167530-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e126-20020a636984000000b0061c5f028cb9si1350379pgc.612.2024.05.03.03.43.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 03:43:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167530-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=ellerman.id.au); spf=pass (google.com: domain of linux-kernel+bounces-167530-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167530-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 43818283325 for ; Fri, 3 May 2024 10:42:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DFDB01514E5; Fri, 3 May 2024 10:42:37 +0000 (UTC) Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 278B47E766 for ; Fri, 3 May 2024 10:42:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714732957; cv=none; b=hiasikDwqVKYw4kdG/sOPcCj5wrMhNrDmqrxzfBnxXYEpInH+cx6fNXV0VTUUMJASoos8QN1BRRmFtl8L3cRSBdaOm2gHSGU2wg380P0i93nvOtZOoQPQVT7R35YJheCUDXotgQ0uDm7HFD7jRz0xS1bEg2GQdKLNqxAHAfwCfI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714732957; c=relaxed/simple; bh=xDzCGU/il0raaq050KId8OVqVXxRU9JYhEjQkOakulU=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=ZcFEtf6Q1pU5UFJ5JcLKpOXzTSlmbqWRiBI7JmlMokYHQB8dMAzfQvlwtZb4ZOsLWyahqax96YrtLYA7t9vpVpA+U7fa7IQw6BN3bSl87Sd5G7idmCg7TgrztY7SneXxP6L3QrpJLdpO5zhSj2zVD8So2RLAn4AJAFDZBhzy5tc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au; spf=pass smtp.mailfrom=ellerman.id.au; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ellerman.id.au Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4VW6ng6xftz4xPM; Fri, 3 May 2024 20:42:31 +1000 (AEST) From: Michael Ellerman To: yangyingliang@huawei.com, mpe@ellerman.id.au, sundar Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, javier.carrasco.cruz@gmail.com, Julia Lawall In-Reply-To: <20240424150718.5006-1-prosunofficial@gmail.com> References: <20240424150718.5006-1-prosunofficial@gmail.com> Subject: Re: [PATCH linux-next] macintosh/macio-adb: replace of_node_put() with __free Message-Id: <171473286295.451432.11707762913723680358.b4-ty@ellerman.id.au> Date: Fri, 03 May 2024 20:41:02 +1000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Wed, 24 Apr 2024 20:37:18 +0530, sundar wrote: > use the new cleanup magic to replace of_node_put() with > __free(device_node) marking to auto release when they get out of scope. > > Applied to powerpc/next. [1/1] macintosh/macio-adb: replace of_node_put() with __free https://git.kernel.org/powerpc/c/84030aacf127d000180fa3cb4b589d8ab1b0d46b cheers