* [PATCH RESEND] xfstests: fix compile error of src/fssum.c on bigendian host @ 2013-11-12 4:16 Eryu Guan 2013-11-12 14:04 ` Rich Johnston 2013-11-13 11:25 ` Jan Schmidt 0 siblings, 2 replies; 3+ messages in thread From: Eryu Guan @ 2013-11-12 4:16 UTC (permalink / raw) To: xfs; +Cc: Eryu Guan Definition of htonll() is needed on bigendian host too, otherwise src/fssum.c won't compile on ppc64/s390x hosts. Acked-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com> --- src/fssum.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fssum.c b/src/fssum.c index c75ff8b..c26d32b 100644 --- a/src/fssum.c +++ b/src/fssum.c @@ -50,6 +50,8 @@ #if __BYTE_ORDER == __LITTLE_ENDIAN #define htonll(x) __bswap_64 (x) +#else +#define htonll(x) (x) #endif #endif -- 1.8.3.1 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] xfstests: fix compile error of src/fssum.c on bigendian host 2013-11-12 4:16 [PATCH RESEND] xfstests: fix compile error of src/fssum.c on bigendian host Eryu Guan @ 2013-11-12 14:04 ` Rich Johnston 2013-11-13 11:25 ` Jan Schmidt 1 sibling, 0 replies; 3+ messages in thread From: Rich Johnston @ 2013-11-12 14:04 UTC (permalink / raw) To: Eryu Guan, xfs This has been committed. Thanks --Rich commit 3d2a446df422c5a1b9ab561ae73e66b68a5aa4c3 Author: Eryu Guan <eguan@redhat.com> Date: Tue Nov 12 04:16:53 2013 +0000 xfstests: fix compile error of src/fssum.c on bigendian host _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] xfstests: fix compile error of src/fssum.c on bigendian host 2013-11-12 4:16 [PATCH RESEND] xfstests: fix compile error of src/fssum.c on bigendian host Eryu Guan 2013-11-12 14:04 ` Rich Johnston @ 2013-11-13 11:25 ` Jan Schmidt 1 sibling, 0 replies; 3+ messages in thread From: Jan Schmidt @ 2013-11-13 11:25 UTC (permalink / raw) To: Eryu Guan; +Cc: Arne Jansen, xfs Forwarded to Arne who just pushed the fix to the far-progs repository at git://git.kernel.org/pub/scm/linux/kernel/git/arne/far-progs.git so we stay in sync. Thanks, -Jan _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-13 11:25 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-11-12 4:16 [PATCH RESEND] xfstests: fix compile error of src/fssum.c on bigendian host Eryu Guan 2013-11-12 14:04 ` Rich Johnston 2013-11-13 11:25 ` Jan Schmidt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox