From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (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 B92D23A1B5 for ; Mon, 3 Nov 2025 10:21:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762165271; cv=none; b=AK24VJ4/p3Glk421q7C8BsODSvl797hfloDZ/i7ndDKZ5hf0erNLTFgo15GbneS1gS36vWNe1HQqKK2tx69BGtJqJ931lP0X4V1GKjJpkaFCv27aFGUGImtZ7S+WvA59nu6fri3zGOLgxJCTZTV53569IRXqNvRCkUjxSLKY+aI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762165271; c=relaxed/simple; bh=k1EGgemh0YvKaAypzO46uDpmkC8C0SwmtOwNRcFu0Iw=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=UQn6XmLo+JDOdfdOY5kej7t+dgbMm4bDdqZwOdi25II9cUOfMmsJYrm7sL0+yZpF1veTnfngpq61fVDtzQ7EwDZ7zet0+ZgdHF8v8IAlf/9ISDBhMPudJPkkpvCpJ3O8t2vX/qoeeK/VHTdX1M9Bxwl19VbSHaJJnw7eW1hUyH0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=gONmfi3D; arc=none smtp.client-ip=95.215.58.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="gONmfi3D" Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1762165266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UduoQ5cPAGugAapT/bwQuTkKlfFPoSHFciwdeqtq810=; b=gONmfi3DuBPgW4/lMY4f+hmhb5cugJMXClVH0tlqAX0xng5VylNyvMensbD+YCiwVOB0SY zJlKMyfZ6i+vdFKv2wBto0iCfRhIHwp8face7GcmAjrp4IVop6bSXPjzWPtff/JsPabWpL gmsQLT/NK2V06QD0TXMjZ63CHBnTEGM= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: [PATCH RESEND] lib/vsprintf: Improve vsprintf + sprintf function comments X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Thorsten Blum In-Reply-To: Date: Mon, 3 Nov 2025 11:20:32 +0100 Cc: Petr Mladek , Steven Rostedt , Rasmus Villemoes , Sergey Senozhatsky , Andrew Morton , linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <03A68F34-E2D1-4687-874E-8D976406BF72@linux.dev> References: <20251103090913.2066-2-thorsten.blum@linux.dev> To: Andy Shevchenko X-Migadu-Flow: FLOW_OUT On 3. Nov 2025, at 10:42, Andy Shevchenko wrote: > On Mon, Nov 03, 2025 at 10:09:13AM +0100, Thorsten Blum wrote: >> Clarify that the return values of vsprintf() and sprintf() exclude the >> trailing NUL character. > > I dunno if we need this clarification, but I'm not against it either, FWIW, > Reviewed-by: Andy Shevchenko > if it helps somebody. Thanks. It would have helped me :)