https://bugs.linaro.org/show_bug.cgi?id=1867

            Bug ID: 1867
           Summary: CID 153388: scheduler.c: in schedule_common_()
           Product: OpenDataPlane - linux- generic reference
           Version: 1.3
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Scheduler
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

*** CID 153388:    (NEGATIVE_RETURNS)
/test/validation/scheduler/scheduler.c: 427 in schedule_common_()
421                                     uint32_t ndx_max =
odp_queue_lock_count(from);
422
423                                     qctx = odp_queue_context(from);
424                                     bctx = odp_buffer_addr(
425                                            
odp_buffer_from_event(events[0]));
426
>>>     CID 153388:    (NEGATIVE_RETURNS)
>>>     Using unsigned variable "ndx_max" in a loop exit condition.
427                                     for (ndx = 0; ndx < ndx_max; ndx++) {
428                                             odp_schedule_order_lock(ndx);
429                                             CU_ASSERT(bctx->sequence ==
430                                                      
qctx->lock_sequence[ndx]);
431                                             qctx->lock_sequence[ndx] +=
num;
432                                             odp_schedule_order_unlock(ndx);
/test/validation/scheduler/scheduler.c: 451 in schedule_common_()
445                                     uint32_t ndx;
446                                     uint32_t ndx_max =
odp_queue_lock_count(from);
447
448                                     qctx = odp_queue_context(from);
449                                     bctx = odp_buffer_addr(buf);
450
>>>     CID 153388:    (NEGATIVE_RETURNS)
>>>     Using unsigned variable "ndx_max" in a loop exit condition.
451                                     for (ndx = 0; ndx < ndx_max; ndx++) {
452                                             odp_schedule_order_lock(ndx);
453                                             CU_ASSERT(bctx->sequence ==
454                                                      
qctx->lock_sequence[ndx]);
455                                             qctx->lock_sequence[ndx] +=
num;
456                                             odp_schedule_order_unlock(ndx);

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to