[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jffs2/clueless (2)
> bitsy:~# mount -t jffs2 /dev/mtdblock6 /usr/local
> Magic bitmask 0x1984 not found at 0x002c0000: 0x2120 instead
> Magic bitmask 0x1984 not found at 0x002c0004: 0x2124 instead
Er,... yes. It seems that we 'fixed' the unaligned pointer dereferences by
not actually dereferencing the pointer.
After I put the get_unaligned stuff in and it was taken out again, the
resulting diff was along the lines of...
- datum = *(__u16*)tmp_buf;
+ datum = ((__u16*)tmp_buf);
This is not a good thing. It's fixed in v1.70 of cfi_cmdset_0001.c and the
handhelds.org CVS tree now.
To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to email@example.com