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 1001665] New: Typo in hal_stm32_dma_isr return value


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001665

           Summary: Typo in hal_stm32_dma_isr return value
           Product: eCos
           Version: CVS
          Platform: stm32e_eval (ST STM3210E EVAL board)
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: normal
          Priority: low
         Component: HAL
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: alan.bowman@datong.co.uk
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


The variable "ret" is initialised with CYG_ISR_HANDLED, and the used as the
return value.  It looks like there are no circumstances where this ISR does not
handle this vector.  However, ret is modified to CYG_ISR_CALL_DSR when the if
statement is followed.

I think that CYG_ISR_CALL_DSR should have been OR'd in to ret.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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