From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 7001C3EB80B; Tue, 3 Mar 2026 14:40:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772548842; cv=none; b=Tm3cD7jku3R7+IM+FwTpL3MW/keymZtwF277gmIkls2/FjJg/hAZ/3CAb7quXPQwIdH8EXll7mxbkCZovy027y2/vq/kAhH0nWk2gR2F1Kzd1wTtTbqcRfrOscwUDy4z9QSUHo6g2mjr5X6BeR3dQb6ZezF8QEcIBmC2aoABaIU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772548842; c=relaxed/simple; bh=h7vzRaW6RrC/Wlm3TWObbp8/My2jx5KrcDfgCJlCX04=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OXzcSoJxucC3brImSc0XE2DPwAEZOt6bUwkE/Q3GhRpdt7/8IqjfmSoyHkds0m04JvRaYik9yV1zUWcNa0lMytR2UKFet6+1JA1GLjcstPulrhSek8V56/HNQ2aHYtPsREBhnOFEwrWvwMvwFEmCDulMC/NLIyXUX4w+vs4IK9U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=rTad74x6; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="rTad74x6" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=eBMNlMMUtk9cxUfQfy8mG1It7U6Z8Smz8HvIoW76XiI=; b=rTad74x6wuW9DdmfjGckyEFN6F jzViN+fJ5q5dCCiYR6JuHLDSenfdDwsARVR0J3NHPSXjP22qVaIuIvv98VEQWRCcV+KwGsEsCv0ZH gGQUI+qQIHLJVqHYM/SsmZ/knyskv5odcrHZMKv1rYkLyHjuyS8bhtmJbQM85N5n1zD5zDKzKd7xv nLQzY62e/8kAjfp8LGf2NT5Byer17F2L8TmYsV2ozifa+BNl2nVBYu3q+AQWf5xmFMbnRKGHGYxyK pJvvu8r9fS23ha7iGLfRjaq8Apk30eAyIFQbm4+yucle39bYcWQApBHpvrkl0pm1IFGmkt+sF0AaF X7bxGYBg==; Received: from hch by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1vxQvN-0000000FLXl-1XpO; Tue, 03 Mar 2026 14:40:37 +0000 Date: Tue, 3 Mar 2026 06:40:37 -0800 From: Christoph Hellwig To: Bill Wendling Cc: linux-kernel@vger.kernel.org, Carlos Maiolino , "Darrick J. Wong" , Gogul Balakrishnan , Arman Hasanzadeh , Kees Cook , linux-xfs@vger.kernel.org, codemender-patching+linux@google.com Subject: Re: [PATCH] xfs: annotate struct xfs_attr_list_context with __counted_by_ptr Message-ID: References: <20260303015646.2796170-1-morbo@google.com> Precedence: bulk X-Mailing-List: linux-xfs@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: <20260303015646.2796170-1-morbo@google.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html > - void *buffer; /* output buffer */ > + void *buffer __counted_by_ptr(bufsize); /* output buffer */ Please split this up somehow to keep the line readable, e.g. /* output buffer: */ void *buffer __counted_by_ptr(bufsize); Otherwise looks good.