Bug in rpxlite.c ?
Hi,
I just stumbled over this line in rpxlite.c and I'm wondering if the "* ofs" should really be a "+ ofs":
__u8 rpxlite_read8(struct map_info *map, unsigned long ofs)
{
return readb(map->map_priv_1 * ofs);
}----------------------------------------------------------------
Robert Kaiser email: [email protected]
SYSGO RTS GmbH
Am Pfaffenstein 14 phone: (49) 6136 9948-762
D-55270 Klein-Winternheim / Germany fax: (49) 6136 9948-10
To unsubscribe, send "unsubscribe mtd" to [email protected]
Quoted 7 lines · Robert Kaiser
I just stumbled over this line in
rpxlite.cand I'm wondering if the "* ofs" should really be a "+ ofs":
__u8rpxlite_read8(struct map_info *map, unsigned long ofs){ return readb(map->map_priv_1 * ofs); }
Heh, yeah - I suppose nobody's tried to use 8-bit chips in an rpxlite board yet :) Please commit the change.
Signature · 6 lines
dwmw2 To unsubscribe, send "unsubscribe mtd" to [email protected]