This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001641] New: Erase function in flashiodev.c andflashiodevlegacy.c handle "err_address" differently
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Wed, 1 Aug 2012 10:11:12 +0100
- Subject: [Bug 1001641] New: Erase function in flashiodev.c andflashiodevlegacy.c handle "err_address" differently
- Auto-submitted: auto-generated
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001641
Summary: Erase function in flashiodev.c and flashiodevlegacy.c
handle "err_address" differently
Product: eCos
Version: CVS
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: enhancement
Priority: low
Component: Flash
AssignedTo: unassigned@bugs.ecos.sourceware.org
ReportedBy: bernd.edlinger@hotmail.de
CC: ecos-bugs@ecos.sourceware.org
Class: Advice Request
Created an attachment (id=1854)
--> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1854)
proposed patch to fix this defect.
In the function flashiodev_get_config(..,CYG_IO_GET_CONFIG_FLASH_ERASE,..)
the meaning of e->err_address is different in flashiodev.c and in
flashiodevlegacy.c:
Either the address where the error was encountered, or an address where the
result should be stored.
IMHO, the implementation in flashiodev.c makes more sense, and
the flashiodevlegacy.c should be changed accordingly.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.