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 7068B255F5C; Wed, 30 Jul 2025 09:44: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=1753868685; cv=none; b=JI6rTYYSZYMa159S3O5eupoXqfPOzR79Czi/eMBXAugwdCZAZow8bw/Zspbba/jLKXRa7jlb4E9yHgzZrzLCU8OQtbvlXLlszSmljDktv1r/dZuDBnj/klzE7hOzthrB+PW8MYfg79PesL6YsbJlomcBDGW1VEKmAKipIabWOnk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753868685; c=relaxed/simple; bh=J8bFkl6Z8NE9U5/yiklXSdNcj7EiIfqARMsQUaXRGGk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lNEt+zD/H90F9tTtdAADwaIXr3xMa3mPepnwEhVe9KUYa/16wf6OSkvQnVEQFbq0U7KzAx70N2Ko9K83c4p1wJU/KtIabmtdOxXAw5T0Hy338ju5PfLfNftRLLplpv+5WiAKJ0zf+KFku+gAMu6QxU/u7Tq9quwb5iq0Ms5eMPk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ysUbTJ3C; 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="ysUbTJ3C" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D41AAC4CEF5; Wed, 30 Jul 2025 09:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753868685; bh=J8bFkl6Z8NE9U5/yiklXSdNcj7EiIfqARMsQUaXRGGk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ysUbTJ3Ci3CYtBT2dt5A6oa6Gyk3G+v4xQTI67H3ynnv7fQXtNZbIvqwCPqjDPC78 49M4aojr+93muczKyuPrXJmRX160GWaTCXUh2ytaZy5Qc1tuaGmNUX0lHzQIpj2QTq g72RIxlngAjxPUf9EgwF7muCZWS/f/FVII56stQM= 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.12 050/117] sprintf.h requires stdarg.h Date: Wed, 30 Jul 2025 11:35:19 +0200 Message-ID: <20250730093235.505258809@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250730093233.592541778@linuxfoundation.org> References: <20250730093233.592541778@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.12-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(+) --- 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);