mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
* Move Rick Edgecombe to TDX maintainer
* Remove unused header * Ensure printf() validation in all configs -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEV76QKkVc4xCGURexaDWVMHDJkrAFAmowVYsACgkQaDWVMHDJ krCtFhAAjNOBz4+N7RHyG45U8AX5zLFSvKLia0SIEvgnprYNT7WJqFHDYLajRV4C 62m6OBinY4NkG5tbwABOj4XsdYGC1S2tVOTqTxtvC/6FvsUE8gKkjYDL58fnFeST m1RCryPiDyrauc5mrN41pMvYIHE8Dgw+8Yor35RzZP1Nr4wwN5LtOPHmIZbz/QVj XVcheDNBQU4jRa5OnTnmx97spywTlT9JnWyO1F9gKkTwBA6+sl1tAd9FXsfxGw9t JWLJqPxpz/1G/gI13KOau6WkfwdPUxQioJ4ZIbO+C2UemUFYu+ZGwbdHnSVkdzdJ 4xU6w3lS9MdprS01V7EQrwaZmsdH7z6lvoHsnwN2Wal+Sagt3Ukr/dEBWDlJmzTB +HfFFEmZL9UTPDoHGUoLOVEy4NafAwZZBDOciJe8K0qLGqg4S8xCw2W9LhfJGIGp W6fSYssmOJX40qFvDpLX6GOK/MEkCerqfUfcFFCaKd2ZGnM4qsKtfHxYLbHL1Soq TkWsC5hMWImi1tiuEdqDtPUODWiZ7k0HTN2C/9pI4IIUMUxdB3Jm3c43GuGsZNl0 y9PGVq8uIZiRV8FAu8NBsPb65UzRNVFPH8WATxTK2mVsMqzGxwMpM5ROQ3pkiPu+ DL1izUOADIYkxkvt00K5Lc5tOP29vCE6lKH5neXeZjhvfLEHb0U= =8iBm -----END PGP SIGNATURE----- Merge tag 'x86_misc_for_7.2-rc1' of gitolite.kernel.org:pub/scm/linux/kernel/git/tip/tip Pull misc x86 updates from Dave Hansen: "These are the usual random pile, with the one exception of moving Rick over to be a TDX maintainer. Rick has been doing a great job with TDX contributions, especially on the host side of things. It's time to promote him to "M". - Move Rick Edgecombe to TDX maintainer - Remove unused header - Ensure printf() validation in all configs" * tag 'x86_misc_for_7.2-rc1' of gitolite.kernel.org:pub/scm/linux/kernel/git/tip/tip: MAINTAINERS: Move Rick Edgecombe to TDX maintainer x86: Remove unnecessary architecture-specific <asm/device.h> x86/bug: Put HAVE_ARCH_BUG_FORMAT_ARGS WARN definitions inside __ASSEMBLER__ x86/bug: Add printf() validation to HAVE_ARCH_BUG_FORMAT_ARGS WARNs
This commit is contained in:
commit
ee7a8593c0
|
|
@ -28977,8 +28977,8 @@ F: arch/x86/kernel/unwind_*.c
|
|||
|
||||
X86 TRUST DOMAIN EXTENSIONS (TDX)
|
||||
M: Kiryl Shutsemau <kas@kernel.org>
|
||||
M: Rick Edgecombe <rick.p.edgecombe@intel.com>
|
||||
R: Dave Hansen <dave.hansen@linux.intel.com>
|
||||
R: Rick Edgecombe <rick.p.edgecombe@intel.com>
|
||||
L: x86@kernel.org
|
||||
L: linux-coco@lists.linux.dev
|
||||
L: kvm@vger.kernel.org
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ struct arch_va_list {
|
|||
struct sysv_va_list args;
|
||||
};
|
||||
extern void *__warn_args(struct arch_va_list *args, struct pt_regs *regs);
|
||||
#endif /* __ASSEMBLER__ */
|
||||
static __always_inline __printf(1, 2) void __WARN_validate_printf(const char *fmt, ...) { }
|
||||
|
||||
#define __WARN_bug_entry(flags, format) ({ \
|
||||
struct bug_entry *bug; \
|
||||
|
|
@ -172,6 +172,7 @@ extern void *__warn_args(struct arch_va_list *args, struct pt_regs *regs);
|
|||
#define __WARN_print_arg(flags, format, arg...) \
|
||||
do { \
|
||||
int __flags = (flags) | BUGFLAG_WARNING | BUGFLAG_ARGS ; \
|
||||
__WARN_validate_printf(format, ## arg); \
|
||||
static_call_mod(WARN_trap)(__WARN_bug_entry(__flags, format), ## arg); \
|
||||
asm (""); /* inhibit tail-call optimization */ \
|
||||
} while (0)
|
||||
|
|
@ -187,6 +188,7 @@ do { \
|
|||
} \
|
||||
__ret_warn_on; \
|
||||
})
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
||||
#endif /* HAVE_ARCH_BUG_FORMAT_ARGS */
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef _ASM_X86_DEVICE_H
|
||||
#define _ASM_X86_DEVICE_H
|
||||
|
||||
struct dev_archdata {
|
||||
};
|
||||
|
||||
struct pdev_archdata {
|
||||
};
|
||||
|
||||
#endif /* _ASM_X86_DEVICE_H */
|
||||
Loading…
Reference in New Issue
Block a user