mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
f45e488e7b
commit
1403131596
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||