This patch set improves name argument definitions in *_create() functions to
clearly state when NULL is a valid value and when the name string doesn't have
to be unique.

The related function implementions are fixed to handle NULL name values
correctly. NULL values are also tested in the validation suite.

Note: NULL name values are not yet working (and tested) for odp_pool_create()
and odp_timer_pool_create(). Fixing these functions would require editing odp
shared memory code which is currently being updated in a separate patch set.

Matias Elo (5):
  api: improve name argument definitions in *_create() functions
  linux-gen: schedule: fix creating event group with no name
  linux-gen: queue: fix creating queue with no name
  linux-gen: classification: fix creating cos with no name
  linux-gen: timer: fix creating timer pool with no name

 include/odp/api/spec/classification.h              | 10 +++++----
 include/odp/api/spec/pool.h                        | 17 +++++---------
 include/odp/api/spec/queue.h                       |  9 +++++---
 include/odp/api/spec/schedule.h                    | 12 +++++-----
 include/odp/api/spec/timer.h                       |  5 ++++-
 platform/linux-generic/odp_classification.c        | 11 ++++++---
 platform/linux-generic/odp_queue.c                 |  8 +++++--
 platform/linux-generic/odp_schedule.c              | 26 +++++++++++++++-------
 platform/linux-generic/odp_schedule_sp.c           | 11 +++++++--
 platform/linux-generic/odp_timer.c                 | 14 ++++++++----
 .../api/classification/odp_classification_basic.c  |  4 +---
 test/common_plat/validation/api/queue/queue.c      | 10 ++++++++-
 .../validation/api/scheduler/scheduler.c           |  9 +++++++-
 13 files changed, 97 insertions(+), 49 deletions(-)

-- 
2.7.4

Reply via email to