x86/viridian: make build_assertions static

This is consistent with other instances of the same function
and also resolves a violation of MISRA C:2012 Rule 8.4.

No functional change.

Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Paul Durrant <paul@xen.org>
This commit is contained in:
Nicola Vetrini authored and Jan Beulich committed 2023-12-11 11:28:02 +01:00
1 parent f45e488e7b
commit 1403131596
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@
#include "private.h"
void __init __maybe_unused build_assertions(void)
static void __init __maybe_unused build_assertions(void)
{
BUILD_BUG_ON(sizeof(struct hv_message) != HV_MESSAGE_SIZE);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.