On 06/22/2016 06:01 PM, Conor O'Gorman wrote: > On 21/06/16 21:05, Hauke Mehrtens wrote: >> In the upstream kernel and the upstream squashfs4 tools the xz >> compression header looks the following: >> struct disk_comp_opts { >> __le32 dictionary_size; >> __le32 flags; >> }; >> >> We added some other members and also moved some existing members. Place >> the members which are already in upstream header at the same position >> as in that kernel and add our own at the end. The kernel should not >> have a problem when there are some additional members and just ignore >> them. >> > But no endian match? __le32 -> uint32_t
Hi, The userspace utile does not use __le32, but the values are converted to little endian before writing them. Hauke _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev