[RTEMS Project] #2876: src/c/src/lib/libbsp/shared/gpio.c:251: broken error checking ?
RTEMS trac
trac at rtems.org
Mon May 22 21:37:38 UTC 2017
#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
More information about the bugs
mailing list