diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2014-06-13 15:38:05 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-06-30 13:23:58 -0500 |
commit | f35f71244da6e51db4e1f2c7e318581f498ececf (patch) | |
tree | 5d8dd08759933b841f96e76d1eb57db0113d1d7d /drivers | |
parent | 508ccea177ba35cbac382b9873c5cd77985bdf8d (diff) |
tools: ffs-test: fix header values endianess
It appears that no one ever run ffs-test on a big-endian machine,
since it used cpu-endianess for fs_count and hs_count fields which
should be in little-endian format. Fix by wrapping the numbers in
cpu_to_le32.
Cc: stable@vger.kernel.org
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions