[Bug 194228] New: Looks like longstanding cut & paste error in nand_generic.c
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 7 16:59:07 UTC 2014
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: freebsd-bugs at FreeBSD.org
Reporter: dhorwitt at cox.net
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.
More information about the freebsd-bugs
mailing list