#2876: src/c/src/lib/libbsp/shared/gpio.c:251: broken error checking ?
-----------------------------+----------------------------
 Reporter:  David Binderman  |       Owner:  Needs Funding
     Type:  defect           |      Status:  assigned
 Priority:  normal           |   Milestone:  Indefinite
Component:  General          |     Version:  4.11
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+----------------------------

Comment (by Stavros Passas):

 Mainly debounce_switch returns an integer and -1 if an error occurs. Thus
 by changing rv to int this error checking is fixed. I think we should
 change both of them to int32_t for consistency with the rest RTEMS.

--
Ticket URL: <http://devel.rtems.org/ticket/2876#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to