Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp285729lqp; Mon, 10 Jun 2024 04:20:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWu7PX0m263J2MOpcVe35SOWj4UwHoVWH0suCPxve55YWNgjClmYQd5Fgve9yu8kNyRIBKNSkvAzm9iOBRAOCf9BXur9V48OYOS4OLG4A== X-Google-Smtp-Source: AGHT+IFz2yXLhSjfwTkWgx25TqOvqzshfJNHVG9jV+9oNJgvUlt2TmIoUkCuFzxWwSTDnY0Zs5kw X-Received: by 2002:a05:6358:52c3:b0:19f:40ab:e81a with SMTP id e5c5f4694b2df-19f40abebc0mr863086255d.28.1718018455919; Mon, 10 Jun 2024 04:20:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718018455; cv=pass; d=google.com; s=arc-20160816; b=jrDKoEwhpQf6sjt0RLX4WfcmZKSf3N6sy7cihSZuTMYJ11gWGfMzuH2CIRRnvR3pK0 X7K2Cupbj3QSqokJoOiPFgtKJ9DrCZvR7gtcoiqnlle767urDikjd7W4mLepO0OSJoXd yD/G+IBCWOGkI9wvGD1UZRj5AYQjCQsMVz2hH0m9O5x0QeBX/oFLr3rb5ZvRHW17r5Sm mhnmV51dspZUfs5bpUkheOcLp/jRqWcN9PMR6v5wrHwPvm5Q/LJfuUgAGh+8Kl3TcdEe DG6kCYXwTu/NYXhPAKTwATdNX+kAGXtHBT7QNRgbObgwTdOhiUBxeLpkhzUgbBgjQQPn R+8Q== 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=IUQvdyFgSoCNx0BQgAFTww/qqIqD2H42q9zWqz+Tfy8=; fh=NDRugL943QcrJgiTQz5/seYrqFvTUcUHZpq1IEAC8Q4=; b=Z2GKcXhaeQLW5PGPJ0Z2a6L0o3L9cVhtfPzyFWEuTtkvVvQOEs2DTu/EOw7o3WegOm 1eP1dGdHwQLqoKl5ZAH3dyxti9vzlky85ThFE72KLoqn+V4sNbKnWmcHap+lhPLu/thP H8ZMB3sfgXUgjphwaLk6DX+8qwgxL3qkuDT2m5RxiOFsXInUDNmndQHDDIjja/URn23c l6Iib+pWgY/iHHYQHOwUP5riH339Qe6yDhXvITSt8gHIYbn6CyuoQOnJc8qp0SmEHh/x 5cl83a7gS8BtQAsNS5oZG3RyhD9Kqi+YlVAcsz0am1H/Yaln98bOlIcqzy3JrjelE29e 1h0Q==; 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-208070-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208070-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de262c000fsi7584386a12.394.2024.06.10.04.20.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 04:20:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208070-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::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-208070-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208070-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8760B281642 for ; Mon, 10 Jun 2024 11:20:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 020247C081; Mon, 10 Jun 2024 11:20:51 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2818B1B80F for ; Mon, 10 Jun 2024 11:20:49 +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=1718018450; cv=none; b=aSSLjAOfnSAxAuoVUR/rpKppkgqw8UGY/5FLGXhSE/qgf8Oy0G1kFm90ytObJaM9K9Bzzv8ia3BFYyNQaCcDPjRcYYpSXvYbeu5pHc4IZFTqRaBJCCLqXNzUHMH6WGrnm90mbdpULPJWsW5QRKPZ/wTAX4hcdmCvxpZJnxjVqwU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718018450; c=relaxed/simple; bh=Ngu42IJRdakR8Hzvh0ArX4zbudLRcENSCZXeLgv7l2A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YFiZR4UlvgNkI2mEQTdEfhgsu43PuN+o2mXvGzDyaXgl0jmzfIHOhYH7qIHlSNBBi5dSOdbUyXwyf0NTwaBh2VokOPQaikfS7gvQBrsq9XHJedI5VARRvhMrnAQWEupEKyaMaSZmdohV7lr5M9Lk/586REO78SOA7LZtOqbibO0= 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 5244A12FC; Mon, 10 Jun 2024 04:21:13 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D91613F73B; Mon, 10 Jun 2024 04:20:47 -0700 (PDT) Date: Mon, 10 Jun 2024 12:20:45 +0100 From: Sudeep Holla To: gregkh@linuxfoundation.org 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: 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: <20240607163350.392971-1-vincenzo.mezzela@gmail.com> 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 ? -- Regards, Sudeep