[PATCH] arm: armv8: Fix warning about redeclaring global functions as weak

Tom Rini trini at konsulko.com
Sat Jul 10 03:08:34 CEST 2021


On Tue, Jun 29, 2021 at 07:33:04PM -0400, Tom Rini wrote:

> As seen with clang-12:
> warning: __asm_invalidate_l3_dcache changed binding to STB_WEAK
> 
> As we indeed use ENTRY and then declare the function weak manually.  Use
> the WEAK declarative from <linux/linkage.h> instead.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210709/51bf1382/attachment.sig>


More information about the U-Boot mailing list