[PATCH] squashfs: Fix compilation on big endian systems
Pali Rohár
pali at kernel.org
Mon May 23 11:32:59 CEST 2022
On Tuesday 10 May 2022 16:33:56 Pali Rohár wrote:
> On Wednesday 06 April 2022 23:31:53 Pali Rohár wrote:
> > Signed-off-by: Pali Rohár <pali at kernel.org>
> > ---
> > fs/squashfs/sqfs.c | 3 +--
> > fs/squashfs/sqfs_dir.c | 3 +--
> > 2 files changed, 2 insertions(+), 4 deletions(-)
> >
> > diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c
> > index 5d9c52af80ba..41cb811c1b32 100644
> > --- a/fs/squashfs/sqfs.c
> > +++ b/fs/squashfs/sqfs.c
> > @@ -11,8 +11,7 @@
> > #include <errno.h>
> > #include <fs.h>
> > #include <linux/types.h>
> > -#include <linux/byteorder/little_endian.h>
> > -#include <linux/byteorder/generic.h>
> > +#include <asm/byteorder.h>
> > #include <memalign.h>
> > #include <stdlib.h>
> > #include <string.h>
> > diff --git a/fs/squashfs/sqfs_dir.c b/fs/squashfs/sqfs_dir.c
> > index a265b98fe685..ed83c90682ff 100644
> > --- a/fs/squashfs/sqfs_dir.c
> > +++ b/fs/squashfs/sqfs_dir.c
> > @@ -7,8 +7,7 @@
> >
> > #include <errno.h>
> > #include <linux/types.h>
> > -#include <linux/byteorder/little_endian.h>
> > -#include <linux/byteorder/generic.h>
> > +#include <asm/byteorder.h>
> > #include <stdint.h>
> > #include <stdio.h>
> > #include <stdlib.h>
> > --
> > 2.20.1
> >
>
> PING?
PING?
More information about the U-Boot
mailing list