summaryrefslogtreecommitdiff
path: root/lib/livepatch
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2021-08-25 13:38:59 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-18 19:16:23 +0100
commita496b70908816206af54ba8dfbec01feb3f5716c (patch)
treecc5f295654b9cf54a6612935aca88691ac03b290 /lib/livepatch
parent41cfb139c36cdba99ab3440625a85ada3680be3d (diff)
crypto: sm4 - Do not change section of ck and sbox
[ Upstream commit 4a7e1e5fc294687a8941fa3eeb4a7e8539ca5e2f ] When building with clang and GNU as, there is a warning about ignored changed section attributes: /tmp/sm4-c916c8.s: Assembler messages: /tmp/sm4-c916c8.s:677: Warning: ignoring changed section attributes for .data..cacheline_aligned "static const" places the data in .rodata but __cacheline_aligned has the section attribute to place it in .data..cacheline_aligned, in addition to the aligned attribute. To keep the alignment but avoid attempting to change sections, use the ____cacheline_aligned attribute, which is just the aligned attribute. Fixes: 2b31277af577 ("crypto: sm4 - create SM4 library based on sm4 generic code") Link: https://github.com/ClangBuiltLinux/linux/issues/1441 Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/livepatch')
0 files changed, 0 insertions, 0 deletions