-
Bug
-
Resolution: Fixed
-
Medium
-
PDK
-
PDK-12878
-
NA (Not available)
-
-
PROCESSOR_SDK_09.02.00
-
Issue Description
Sciclient_rmIrqDeleteRoute() does not check the return status from Sciclient_rmIrqReleaseRaw() if it is not CSL_PASS.
For example, if the return status is !CSL_PASS, the function will continue and overwrite the return status in the next iteration of the for-loop. At the end of the function, the return status "r" is returned, even though it has been overwritten at each iteration even in the case of failures.
1) Are failures expected when calling Sciclient_rmIrqReleaseRaw(), and can be safely ignored?
2) Is only the last iteration return status important? The function returns "r" for the last Sciclient_rmIrqReleaseRaw() executed. What information does this give the calling function?
Code difference from SDK 8.2 that has been removed:
if (r != CSL_PASS)
{ sci_ridltr = 1; }and
if (r != CSL_PASS)
{ sci_ridltr = 2; }Workaround:
NA