From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.ilvokhin.com (mail.ilvokhin.com [178.62.254.231]) (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 5EC223876B5 for ; Tue, 2 Jun 2026 09:19:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.62.254.231 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780391965; cv=none; b=DbkNHD88u9VkTStts3C7+PftTBca/j739ZWElUruQLcbIG3QctQWACIF1oaKgU5HJTg2wCfUH27avKoxL17ilcdjY3tXQQxwTjvdTcSLGE3i2/er1AtLyoBQt2y3Lf3jOAvmeB0VyqDUmuyBC3qeCQkcwtXw3Pl4/AO8auVGW1M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780391965; c=relaxed/simple; bh=4PLQlpsnB/RRYsVV1JxqRCaTqPVvpCZHnrUn1CZYDRA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EtCcdbH/h6y9vsLWr69UkWwxDgW+EzW7loxqOHLdYIuUOSM5s9xRLlO5cnedJwlFl0cMbnsnHvTMcixEIoJfcuXcMlOGUr7r5o3CXtcOODeWuKIgwKjo11MDQaRffnUIx301uaYh3PZdCGS0sSqbH/jpY2jCJ1+OfWFZgSOhpq4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ilvokhin.com; spf=pass smtp.mailfrom=ilvokhin.com; dkim=pass (1024-bit key) header.d=ilvokhin.com header.i=@ilvokhin.com header.b=peVpd5Nu; arc=none smtp.client-ip=178.62.254.231 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ilvokhin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ilvokhin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ilvokhin.com header.i=@ilvokhin.com header.b="peVpd5Nu" Received: from shell.ilvokhin.com (shell.ilvokhin.com [138.68.190.75]) (Authenticated sender: d@ilvokhin.com) by mail.ilvokhin.com (Postfix) with ESMTPSA id 47C38D1023; Tue, 02 Jun 2026 09:19:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilvokhin.com; s=mail; t=1780391962; bh=svkiNZw21V/XkupJT5UQSR+7TebFnLxf7g5NPNd+ovg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=peVpd5NuXYYLA83lZsm/uc3I0zHN2mTApc6949ntTPmVV/LUV9I0QsQSWHGdOvNAf 1DuqIr8tvUg05qxlZcVBcmLCs9bf8fk5KUKi1Ih8qvZdWEjgStYIgpgm9S0hXNoko8 niVoTza68JiwYG5KvYGbJSGMy2ZXpOQxdxCOuZ6A= Date: Tue, 2 Jun 2026 09:19:18 +0000 From: Dmitry Ilvokhin To: Miguel Ojeda Cc: Peter Zijlstra , Dan Williams , Vishal Verma , Dave Jiang , Ira Weiny , Miguel Ojeda , Thomas Gleixner , Christian Brauner , Marco Elver , "H. Peter Anvin" , Andrew Morton , nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kernel-team@meta.com Subject: Re: [PATCH v5 3/4] cleanup: Annotate guard constructors with nonnull Message-ID: References: <85fee12eec20abfcf711443518e8f0caec982a86.1780064327.git.d@ilvokhin.com> Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Jun 02, 2026 at 09:32:12AM +0200, Miguel Ojeda wrote: > On Tue, Jun 2, 2026 at 9:13 AM Dmitry Ilvokhin wrote: > > > > Miguel, I dropped your Acked-by due to the rename. Went with > > __nonnull_args() (over __knonnull()). Happy to restore your tag if that > > spelling works for you. > > I am fine with either, but thanks for the caution! :) Thanks for confirmation, Miguel. > > I assume `_args()` is meant as "the `nonnull` for the arguments, not > the return"? Yes, that is exactly what I had in mind.