Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp304131lqb; Tue, 16 Apr 2024 17:05:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVGRE1xRZzhIRIOACKS/dZIHGkZOXVl0L6eF1dolv61V1qk0deyOtXb0Bd2apocRo89ajG27ZQAv5u1v49rdFN2fd7OcqwHqPgYgUnLLQ== X-Google-Smtp-Source: AGHT+IFED9os+fh18ZmO219z45HgiMUEh2iG9hXCg+DQokxqmrC/ATmkn7GrFbuu9pFRK/848c2O X-Received: by 2002:a05:620a:2446:b0:78d:7611:bd91 with SMTP id h6-20020a05620a244600b0078d7611bd91mr21199585qkn.8.1713312309751; Tue, 16 Apr 2024 17:05:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713312309; cv=pass; d=google.com; s=arc-20160816; b=DoJ6wDi3ELzaqvENjvnnv3DJ3Ocr+cDbtodJE+czID5+SsedX3cZuuERW1D7n6ATtx LHltlqxUYK32rqyP4AjzynJh+hhTde8oq8GSttn7DBuvAMC6jqwIBnPnkNVDP+pFSiQw OGCRlCGRC6Eu2+tQ+aIEsNzltaIL+MNfaotS9COxO42G4rArKw8t9wBEa+riRmputAh7 aljdBrAvRB/j2X+0OnLUdDh2KPnfXL4WIsuYrl46syI7uPAiMfSKwu3S4FYbAc4r6k5W Y6U8Q+UIjO9FeKmLkSch0xDbV/dOpnP8tVIV4CRmaEX0LMjINGlYWeFBKy8V8o+vsRlC V0Ng== 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=ufD3lvTD0lyNqAjzmb2So/JDsyCYsIP5ZorLB3FuMVk=; fh=IogEZN+gm4Uo8rapWVifYNOC6FeorfIoLyKdXWVU+eI=; b=UAWnyo0NKvL7Vm0A1p9yK4nyvElLL/YgMnKBTTTXMul4eB03lmQWtDWjXycQuGzbBw ZdME6SQGJV5nD/ux7OV5jCXp33RNq7wunzKcLBuVKLPB2rFhiMiwRRIg7ziXuDBvhoFZ XDJn8gxSD9erVEozaEqJPnS+6NDyVqQCP+DLltoe6f2z5cWuS6EGKgnlkEyw8HFwk0hd UDZVnlDMCiazXvZ0MfCLXv86x8gMkkMKuwOEoo8HIX5yVL4tAx/WKLhsxirjGKmZNiJ6 TYPXgPaF58q/fXRKG3+Nel39Jv1FIYmUxpylOMBfilZA+bTNZi5p3W4zlimAAOaoiB4m i1Zg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=etezian.org); spf=pass (google.com: domain of linux-kernel+bounces-147780-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147780-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id qp6-20020a05620a388600b0078bcec2939asi13711091qkn.38.2024.04.16.17.05.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 17:05:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147780-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=etezian.org); spf=pass (google.com: domain of linux-kernel+bounces-147780-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147780-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 798951C22257 for ; Wed, 17 Apr 2024 00:05:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6ED611878; Wed, 17 Apr 2024 00:04:09 +0000 (UTC) Received: from 6.mo581.mail-out.ovh.net (6.mo581.mail-out.ovh.net [188.165.39.218]) (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 377BD184D for ; Wed, 17 Apr 2024 00:04:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.165.39.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713312249; cv=none; b=ZWOm2hr8xBrkNmIAR7QfSLFeYyulBtowTZeT34ZH+OZNRS4gxUv4m2n02dkJRCy7KRmnXXCjRNQY78i+AlCrfVjoIOVQ+V97U8+6j/9ebPlfQ6aJrCWk78nQ3qEKsuHH3LDciWzIqF4NFAGm7bmVOLS/sDfj54lDNR/mvGvhXqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713312249; c=relaxed/simple; bh=EW8jp+SOURsYTPLl+PnV7ZSN+FjJCWndNz+gCCwD2Iw=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=qYTmqLWfL+shRl409CzvlMaVZ7y5lYDG33jHXCE8T5bL2z+tRkT8p86DIRDTlsL+JG1x/9+NTUynn/XJu820iLvNmYcx2Mg+RCb+FAoCKZtEzVyX4+kDc1CSNHDv3P/38h8bHbj67f/cksk+xHp9LdH4OL/xAeUjBWvqCO4st4M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=etezian.org; arc=none smtp.client-ip=188.165.39.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=etezian.org Received: from director9.ghost.mail-out.ovh.net (unknown [10.108.25.74]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4VJzfX2jmmz1NF7 for ; Tue, 16 Apr 2024 22:46:12 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-tl4st (unknown [10.110.96.50]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id B04DC1FD1E; Tue, 16 Apr 2024 22:46:10 +0000 (UTC) Received: from etezian.org ([37.59.142.95]) by ghost-submission-6684bf9d7b-tl4st with ESMTPSA id NUZPKbL/HmYJMQAAgyXpiA (envelope-from ); Tue, 16 Apr 2024 22:46:10 +0000 Authentication-Results:garm.ovh; auth=pass (GARM-95G001a22ffe43-1d0d-41f9-8b5e-b6b47462b279, 38C292890E232DD6F9946AE994780F0893807590) smtp.auth=andi@etezian.org X-OVh-ClientIp:89.217.109.169 From: Andi Shyti To: chris.packham@alliedtelesis.co.nz, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Abhinav Jain Cc: skhan@linuxfoundation.org, javier.carrasco.cruz@gmail.com, Julia Lawall In-Reply-To: <20240415161220.8347-1-jain.abhinav177@gmail.com> References: <20240415161220.8347-1-jain.abhinav177@gmail.com> Subject: Re: [PATCH] i2c: mpc: Removal of of_node_put with __free for auto cleanup Message-Id: <171330756789.1978363.15038881964177013027.b4-ty@kernel.org> Date: Wed, 17 Apr 2024 00:46:07 +0200 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 X-Mailer: b4 0.13.0 X-Ovh-Tracer-Id: 18425351976007961206 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrudejjedgudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvegjfhfukfffgggtgffosehtjeertdertdejnecuhfhrohhmpeetnhguihcuufhhhihtihcuoegrnhguihdrshhhhihtiheskhgvrhhnvghlrdhorhhgqeenucggtffrrghtthgvrhhnpeffteehudffvdfhudfgffdugfejjeduheehgeefgeeuhfeiuefghffgueffvdfgfeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecukfhppeduvdejrddtrddtrddupdekledrvddujedruddtledrudeiledpfeejrdehledrudegvddrleehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpegrnhguihesvghtvgiiihgrnhdrohhrghdpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht Hi On Mon, 15 Apr 2024 16:12:20 +0000, Abhinav Jain wrote: > Remove of_node_put from node_ctrl and node struct device_nodes. > Move the declaration to initialization for ensuring scope sanity. > > Applied to i2c/i2c-host on git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git Thank you, Andi Patches applied =============== [1/1] i2c: mpc: Removal of of_node_put with __free for auto cleanup commit: 24e4a0d7c6b7a6491cc44781f3900129f56f447f