fs/squashfs: Fix compilation error
PATCH 1/1 fs/squashfs: Fix compilation error
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'
---
Please include this change into U-Boot master branch which is currently affected by this issue.
--- fs/squashfs/sqfs_inode.c | 1 + 1 file changed, 1 insertion(+)
fs/squashfs/sqfs_inode.c +1 -0
@@ -6,6 +6,7 @@*/ #include <asm/unaligned.h> +#include <compiler.h> #include <errno.h> #include <stdint.h> #include <stdio.h>
Signature · 1 line
2.20.1
PATCH 1/1 fs/squashfs: Fix compilation error
Quoted 11 lines · Pali Roh?r
Commit
401d1c4f5d2d29c4bc4beaec95402ca23eb63295("common: Dropasm/global_data.hfrom common header") broke compilation of squashfs filesystem whenCONFIG_CMD_SQUASHFS=yis 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 <[email protected]>Signed-off-by Pali Roh?r <[email protected]>
Signature · 8 lines
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>
PATCH 1/1 fs/squashfs: Fix compilation error
In reply to Pali RohárQuoted 4 lines · Pali Roh?r
Commit
401d1c4f5d2d29c4bc4beaec95402ca23eb63295("common: Dropasm/global_data.hfrom common header") broke compilation of squashfs filesystem whenCONFIG_CMD_SQUASHFS=yis enabled.
Quoted 8 lines
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 <[email protected]>Signed-off-by Pali Roh?r <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
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/20210304/178b773e/attachment.sig>