https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194228
Bug ID: 194228
Summary: Looks like longstanding cut & paste error in
nand_generic.c
Product: Base System
Version: 10.1-BETA2
Hardware: arm
OS: Any
Status: Needs Triage
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
FBSDID("$FreeBSD: stable/10/sys/dev/nand/nand_generic.c 259371 2013-12-14
00:54:05Z ian $");
10.1-BETA2 from 20140925
Line 395:
chip_params->spare_bytes_per_page = le32dec(¶ms.spare_bytes_per_page);
should be
chip_params->spare_bytes_per_page = le16dec(¶ms.spare_bytes_per_page);
On my AT91SAM9G20-based system (EMAC SOM-9G20M, 64 MB SDRAM) onfi_is_blk_bad()
hung trying to malloc 0x20000040 bytes instead of 0x40.
Thanks; FBSD rocks!
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"