certs: Fix misaligned data in extra certificate list
authorDavid Howells <dhowells@redhat.com>
Mon, 29 Feb 2016 14:44:30 +0000 (14:44 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 29 Feb 2016 14:44:30 +0000 (14:44 +0000)
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

index f82e1b22eac43b3e8a13b5e25d741f00803a208a..c9ceb71a43fef10925090939e9ce3de8367e8e86 100644 (file)
@@ -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