This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001641] New: Erase function in flashiodev.c andflashiodevlegacy.c handle "err_address" differently


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]