Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp403609lqd; Wed, 24 Apr 2024 06:10:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXlVmJXH7tkQi3nQ2aRGu59e8z88aVup8m5CDaEpJaP4OnryVRnno7tPjqFD4xve1f4HgYOxZa8P3qITYDmP8MW6HDfGuqnglWlYUhFQw== X-Google-Smtp-Source: AGHT+IEhrxruSCfexOeCB0DYA0/nP4xRWNXVTR8kgqqIKA21g/zFozCRwA+1vI1QHXMOwavV/U2w X-Received: by 2002:a17:903:11d1:b0:1ea:611f:573f with SMTP id q17-20020a17090311d100b001ea611f573fmr2622615plh.32.1713964217161; Wed, 24 Apr 2024 06:10:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713964216; cv=pass; d=google.com; s=arc-20160816; b=w7KTdR8VTh9xYcUgaZPgutSyy3e2jcAqo3c1LQgaT5oyYmV7KkPUPWaG48+wkxCrlc GrmCscmAxpobBZVJBFY7VPIK/LH7GK6Anqz7Acn23VlZhoJa++JeqdcaLUjmHYAQw3v+ Y3uyeGOg/2W6pm41ihLwkH5iV/9H+fALrZLK2EEpIQtUHp4wEdtf3OdLqUnfGKGjm7rC HFbs1RbizdotcSs2SshCNd24uy5WJlKCj66eZNiyOhDTZ1pXHhGzwOJTtuAQu/98v9L4 3sj2QpsrBHnMvLCd1y99iaOULqAf0v9WzuKL+bes7rdQSDjPaCCwoc6LA/+2ln9JHtnc OSoA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=RW2L08j1RqQ+8tqNu36J8/94KbnD6n5HU+j41v6iJn0=; fh=bQlqM4dxJClNQA0xX5mpfXFh9jKlQj77DZ2dE4Ht6lU=; b=aI+rqYPKJysAJkkt7RA15tmnQRgpQDGlJlTGMmjgz2+UtWjGgwXI/i8UgvpCBhv9GW z5vjLZqQ8V2mdjrto83WPILLCU71x5nWn8ySbYp2MfL0CSnICCFRp2LXAedCo8ye30Tb IoSyKUZJmLh7pxO2O3DQtHQYNOOzdFHA0+M/Bta2YSYfuSXc/AP+GX1HiL6qAv5NgusR jUWs+IpjG//uJ54w1RACeEC3noD6eKY7fVAy6j7yZRbwOox6MkFQfUur2Bkc0ghPc8K9 j8n4TwAGMun6aTPL0CHdt/LjA2H0ExcYUSF4y0rjTZEHao1O8iH12RggYYnEJ237Kbd+ lKIA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-156901-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156901-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id w10-20020a1709027b8a00b001e2a5d98c4bsi11115650pll.396.2024.04.24.06.10.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 06:10:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156901-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-156901-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156901-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 7DC59B22C00 for ; Wed, 24 Apr 2024 12:54:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8C6E15B133; Wed, 24 Apr 2024 12:54:07 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EEB96134A5 for ; Wed, 24 Apr 2024 12:54:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713963247; cv=none; b=A3gETHMXFQlMIv3e5ZBddsPhMo+0tdLtdYrU0z7HDGhRAm/poEkpOWDWflXPz65AjjMnC99J92k9z6bUQ0VP4PsjqZtyFzC69+kfDqFggut47WUlGnuNAU2D2j7jwnFj5RBhtZemqi8kkvvrL2VtxwytAFEFgRq0pfGrEkw0Sao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713963247; c=relaxed/simple; bh=RW2L08j1RqQ+8tqNu36J8/94KbnD6n5HU+j41v6iJn0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dkHH6cwBFK0nkNtoGlRqtr09avfCBA/ttsutwOzpDoUOm/Nuc40K4oe2uq+YqYpGTjKErLAUGSZxrO/lziAUpLGQLOir9TMfZ/EJVMWJH9SpDAvcpSoTxRAg+xoat99OK8UsPtS4ZMSqo/bHhYRRMtRTLsNp9o99TghCzerjZsQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 21EB11516; Wed, 24 Apr 2024 05:54:33 -0700 (PDT) Received: from bogus (unknown [10.57.84.59]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EA4DB3F64C; Wed, 24 Apr 2024 05:54:03 -0700 (PDT) Date: Wed, 24 Apr 2024 13:54:01 +0100 From: Sudeep Holla To: Vincenzo Mezzela Cc: gregkh@linuxfoundation.org, javier.carrasco.cruz@gmail.com, Sudeep Holla , julia.lawall@inria.fr, linux-kernel@vger.kernel.org, rafael@kernel.org, skhan@linuxfoundation.org Subject: Re: [PATCH v2] drivers: use __free attribute instead of of_node_put() Message-ID: <20240424125401.oxvt5n64d7a57ge3@bogus> References: <20240419140106.3mkayxriqjt2cz5i@bogus> <20240422130931.176635-1-vincenzo.mezzela@gmail.com> <20240424103756.jhloae3fcyinyba4@bogus> 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=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Apr 24, 2024 at 02:42:16PM +0200, Vincenzo Mezzela wrote: > > I'll fix the misalignment and the checkpatch.pl warnings and send an updated > version. > > Furthermore, would you like to see this patch split in two patches where: > > - patch 1 reorganizes the content of the loop using "if(!t) break;" instead > of having the "if(t) { all for body }"; > > - patch 2 gets rid of of_node_put; > > This might be better than having both the reorganizations in the same patch. > > Please let me know what would you prefer. I am fine either way. Splitting might help in the review for others. -- Regards, Sudeep