Skip to content

Commit

Permalink
certs: Fix misaligned data in extra certificate list
Browse files Browse the repository at this point in the history
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 <[email protected]>
cc: Mehmet Kayaalp <[email protected]>
  • Loading branch information
dhowells committed Feb 29, 2016
1 parent 7650cb8 commit 0d1db3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions certs/system_certificates.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d1db3e

Please sign in to comment.