From 0d1db3e37022770a221b2a7565cfe425792ed22e Mon Sep 17 00:00:00 2001
From: David Howells <dhowells@redhat.com>
Date: Mon, 29 Feb 2016 14:44:30 +0000
Subject: [PATCH] certs: Fix misaligned data in extra certificate list

Fix the following warning found by kbuild:

	certs/system_certificates.S:24: Error: misaligned data

because:

	KEYS: Reserve an extra certificate symbol for inserting without recompiling

doesn't correctly align system_extra_cert_used.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Mehmet Kayaalp <mkayaalp@linux.vnet.ibm.com>
---
 certs/system_certificates.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/certs/system_certificates.S b/certs/system_certificates.S
index f82e1b22eac43..c9ceb71a43fef 100644
--- a/certs/system_certificates.S
+++ b/certs/system_certificates.S
@@ -19,6 +19,7 @@ __cert_list_end:
 VMLINUX_SYMBOL(system_extra_cert):
 	.fill CONFIG_SYSTEM_EXTRA_CERTIFICATE_SIZE, 1, 0
 
+	.align 4
 	.globl VMLINUX_SYMBOL(system_extra_cert_used)
 VMLINUX_SYMBOL(system_extra_cert_used):
 	.int 0
-- 
GitLab