[PATCH] fs/squashfs: Fix compilation error

Tom Rini trini at konsulko.com
Wed Mar 3 14:23:42 CET 2021


On Wed, Mar 03, 2021 at 10:52:36AM +0100, Pali Rohár wrote:

> Commit 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 ("common: Drop
> asm/global_data.h from common header") broke compilation of squashfs
> filesystem when CONFIG_CMD_SQUASHFS=y is enabled.
> 
> Compilation is failing on error:
> 
>     aarch64-linux-gnu-ld.bfd: u-boot/fs/squashfs/sqfs_inode.c:121: undefined reference to `le32_to_cpu'
> 
> Fixes: 401d1c4f5d2d29c4bc4beaec95402ca23eb63295 ("common: Drop asm/global_data.h from common header")
> Suggested-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Pali Rohár <pali at kernel.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
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/20210303/13938892/attachment.sig>


More information about the U-Boot mailing list