Re: [RFC PATCH] bcache: enable big endian support for IBM s390x From: Christoph Hellwig <hch@infradead.org> Date: 2018-03-15 13:47:21 +static void swap_cache_sb_from_cpu(struct cache_sb *sb, + struct cache_sb *out) +{ + int i; + + out->offset = cpu_to_le64(sb->offset); + out->flags = cpu_to_le64(sb->flags); + out->seq = cpu_to_le64(sb->seq); This looks completely bogus and sparse will complain loudly about it. Please make sure you have proper endianess annotations in place.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help