From mboxrd@z Thu Jan 1 00:00:00 1970 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 220E319D065; Wed, 30 Jul 2025 09:40:45 +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=1753868445; cv=none; b=bVZNWTAs2RshKe3zKwEcVSjV94p3giv2c0tUGOy0FicIV8LsR0s3RRv601FpTpEouMgQ3J2OIff/wDS7TeaDl5IjSfdscgV7jY6nL/8ubZs4A6zCPeQR1vusLl9bZ5vTXklQ0W9Kw92ax/ihBsga4Q06Wsu3k+CkZKJ9zkVqN8c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753868445; c=relaxed/simple; bh=/b//2pdX6eQaKsOib2Ll8DLDh2m3EfC394WaWhKg2GY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eGMRqnWOKnYCE7z6ey1QIhVwVPUSHRTl/Sx1TmMn5qFTIB0ouULBbUO+AQyyhO4WpsyEsglO+BNaU1BnSdPjwuB5MylowmIiZJfS1oSA+sj8zhVGD9+0eqb16BZrx2rtVXBnfBunUp728255on2UX3cLY/K/M8c5V4bINFlbyaM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CHmasSEJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CHmasSEJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86F33C4CEE7; Wed, 30 Jul 2025 09:40:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753868445; bh=/b//2pdX6eQaKsOib2Ll8DLDh2m3EfC394WaWhKg2GY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CHmasSEJRHlDT3tFd36nG5L2Y0gQQqQ86PUWp3NK0VAP9EBEsxjm/0QtVfbnR9TW1 uktcBa37I3Lw/HnIWVb0KGi7TL+bS9kl5hMgALy85h22h1Ip4Vu3ZEBTR2jQUZRqrf uTQ6tjPx7Yo+IDm1ZZ40TjZjhYtTwwRqwCrFfHPc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Stephen Rothwell , Andriy Shevchenko , Herbert Xu , Petr Mladek , Steven Rostedt , Rasmus Villemoes , Sergey Senozhatsky , Andrew Morton Subject: [PATCH 6.6 33/76] sprintf.h requires stdarg.h Date: Wed, 30 Jul 2025 11:35:26 +0200 Message-ID: <20250730093228.124852161@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250730093226.854413920@linuxfoundation.org> References: <20250730093226.854413920@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Stephen Rothwell commit 0dec7201788b9152f06321d0dab46eed93834cda upstream. In file included from drivers/crypto/intel/qat/qat_common/adf_pm_dbgfs_utils.c:4: include/linux/sprintf.h:11:54: error: unknown type name 'va_list' 11 | __printf(2, 0) int vsprintf(char *buf, const char *, va_list); | ^~~~~~~ include/linux/sprintf.h:1:1: note: 'va_list' is defined in header ''; this is probably fixable by adding '#include ' Link: https://lkml.kernel.org/r/20250721173754.42865913@canb.auug.org.au Fixes: 39ced19b9e60 ("lib/vsprintf: split out sprintf() and friends") Signed-off-by: Stephen Rothwell Cc: Andriy Shevchenko Cc: Herbert Xu Cc: Petr Mladek Cc: Steven Rostedt Cc: Rasmus Villemoes Cc: Sergey Senozhatsky Cc: Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- include/linux/sprintf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/sprintf.h b/include/linux/sprintf.h index 51cab2def9ec..876130091384 100644 --- a/include/linux/sprintf.h +++ b/include/linux/sprintf.h @@ -4,6 +4,7 @@ #include #include +#include int num_to_str(char *buf, int size, unsigned long long num, unsigned int width); -- 2.50.1