Commit aef174b4 authored by Alessandro Rubini's avatar Alessandro Rubini

sdbfs/kernel: bugfix: fixendian was always running

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent eb949a16
......@@ -26,7 +26,7 @@ static void sdbfs_fix_endian(struct sdbfs_dev *sd, void *ptr, int len)
uint32_t *p = ptr;
int i;
if (!sd->flags & SDBFS_F_FIXENDIAN)
if (!(sd->flags & SDBFS_F_FIXENDIAN))
return;
if (len & 3)
return; /* Hmmm... */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment