cfi_cmdset_0002.c: do_xxlock_oneblock: overflow subtract causing oopsen on iPAQ h1900

Joshua Wise joshua at joshuawise.com
Thu Feb 12 15:04:40 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> - adr = ((adr & ~0xffff) | 0x2) + ~0x3fffff;
> + adr = ((adr & ~0xffff) | 0x2);
That may indeed be the correct way to unlock flash on other platforms ... that 
is the change that I am using, and it does not seem to cause any harm.

joshua

- -- 
Joshua Wise | www.joshuawise.com
GPG Key     | 0xEA80E0B3
Quote       | <RockShox> charge up a 50v 1000uf cap and toss it to someone
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAK9xbPn9tWOqA4LMRAqIPAJ9TatM6muNW/NgFgszZGQPwnKsekgCffdbM
4q4tfkOZu/qyZCtvWg+fYqw=
=J2EX
-----END PGP SIGNATURE-----



More information about the linux-mtd mailing list