Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp180165lqp; Tue, 11 Jun 2024 00:37:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXkVMGnC3LDo3lNjYjabB1RmVmZ8W6dTk2/AQxs8mdenqq80WcCa3VIBfCRsmO9bYXultKlqqsc16RABeZlF8cX1Z/C1e6rxDUb9IH8gA== X-Google-Smtp-Source: AGHT+IGIPp+0s0MPc33IsUTz/pZTYNkzwXmfyRP+tE2Njhn0Grea+zCxqapq/9MItkD/xIgnK9t5 X-Received: by 2002:a17:902:e887:b0:1f7:2477:aea3 with SMTP id d9443c01a7336-1f72477b146mr30795235ad.50.1718091461338; Tue, 11 Jun 2024 00:37:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718091461; cv=pass; d=google.com; s=arc-20160816; b=J1cuVD395mI8M+L5sScMh0/VZeOP+fScHpc7YooRKdGm5HaDs84LZFKBAe5Zbi/ABU MWBYTfUK+ec2r5jdjSjw6N4cflYkE5I5MOXnNJlgZCKWNVXLtuaB6g5OYrsIL9UG/SPh T+IYLBqHl0cpvlBaO4KQ54YZfrpZeKioe5c6E9nVH4RdwsMPHwQQp+Ke65v2kzftBRxh X5WjwMxJbnC7xZHUBYO1p4SkV+PtkAEacDqruvC86+Ets/LAJvvf8pp+uoZNNSu2ifSK 5PAtbCBCrbUQXcQYEZCrt2f8OdKMICORi8Zk3iwA0+hgEB4wAow0qJ1Coj25zXo91NLp SmFA== 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:dkim-signature; bh=b23P83or97M0NIIPjmPBrJBzbgnsaoxdJxjFTN80aw8=; fh=fAM7fFFNp5gAjHunHXLjZGBQlpktMQ2oYOwXPu6OgT0=; b=0r69OuWPhFNeCAVbVo2xUzFgKlrrHOUPzk3yGnNC2NetEIl7l9+POGQxpWoaPdO2cb mP6DLLJpsVaifJN8HuQ6rlj+CfQHw091bL5JPiVOr1UQNmUr6+qzz0/1kkaXp2cWEnOF nLTwDBOQxK4FKCZ6oFH3ZEaYfPcfi7AK/4Se4lzRLb3Vx+BWKmjCA14VpgNj28eCnZaA iz2qd9vvTt4WCiWODpjIY7qipIwXsfzU6u+0jLx+ilTN8tsFde92d8terVxaGiIBWZ4e lrIkZVilW8U6GRHZo96chtw+sallSwAiVflekSBLEZO1T2pDnSCQz+6C4xQOKG2LA/cK 9xmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WO7QdA+N; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-209380-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209380-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6da5d8a65si48498725ad.159.2024.06.11.00.37.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 00:37:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209380-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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WO7QdA+N; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-209380-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209380-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 98E9C28F369 for ; Tue, 11 Jun 2024 07:31:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8204D17276D; Tue, 11 Jun 2024 07:30:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WO7QdA+N" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A6A4A140378 for ; Tue, 11 Jun 2024 07:30:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718091055; cv=none; b=oWAYcOi3VnGaLF0G6I2FpqsY4QT3fbHKdSBYyd6h1ER+j6yZ0amUg8TT4fk7jXxpFMn+Lbd0mS07kwKz/MJjHx0JTXRFJrynJ01TfJxx5w+g8H08Im9P1qW5S9XSK79MN4501dI4fOyBM2fZ6ONjPT1NN0z/KOpbPap+35jyUAE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718091055; c=relaxed/simple; bh=Z3zVSYFQQvxFm/uK9oXwIg7UIxS4JE3vCPkTXHHvdyc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bhnRory3t8USSGHN/vST1iDfPKizq4qTAg7F9in8mc5wDyWkAgEUE84phlXYuJpaHUTuS1m8Ab06IqhuBq8dgjLoqOD5HaTpV2xHNb3XUpSx3x1KWqryeoESom16L0WF2STGZnsQbBR+lPKVEAyjZ8as20cbOdshk3vSiIUvA6U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WO7QdA+N; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A571AC2BD10; Tue, 11 Jun 2024 07:30:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718091055; bh=Z3zVSYFQQvxFm/uK9oXwIg7UIxS4JE3vCPkTXHHvdyc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WO7QdA+N72LKJw5XsdRR6DEnt5Zb7nLFstakMxZpTjXfiMcY/rcRtqg7C9BZ9S80Z m447BK4OiM7OiFswUA5YnZzRiGKjTmI5/9N8y0gq2iwX6al9kyikragAeHoWS+DwX5 i8cd6T/iIdXbd2IXzQdr17xT5qUKW/rXR+D+ATlY= Date: Tue, 11 Jun 2024 09:30:52 +0200 From: Greg KH To: Sudeep Holla Cc: Vincenzo Mezzela , rafael@kernel.org, javier.carrasco.cruz@gmail.com, julia.lawall@inria.fr, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org Subject: Re: [PATCH 0/2 v4 RESEND] drivers: arch_topology: introduce automatic cleanup feature Message-ID: <2024061146-unless-deceiving-ed55@gregkh> References: <20240607163350.392971-1-vincenzo.mezzela@gmail.com> 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 Mon, Jun 10, 2024 at 12:20:45PM +0100, Sudeep Holla wrote: > On Fri, Jun 07, 2024 at 06:33:48PM +0200, Vincenzo Mezzela wrote: > > Hi, > > I am resending this patch series rebased on top of -rc2 as the old one [1] might > > have got lost deep in the mailbox. > > > > This patch series introduces the automatic cleanup feature using the __free > > attribute. With this modification, resources allocated with __free are > > automatically released at the end of the scope. > > > > > > [...] > > > changes in v2: > > - check loop exit condition within the loop > > - add cleanup.h header > > > > changes in v3: > > - split patch in two > > - fix misalignment > > - fix checkpatch warnings > > - replace break with return statement where possible > > > > changes in v4: > > - fix commit subject > > - fix coding style > > Hi Greg, > > Can you please pick these couple of patches up directly for v6.11 as I > don't have anything else ATM ? Sure, will go do that now...