log: add missing experimental tag
authorDavid Marchand <david.marchand@redhat.com>
Tue, 4 Dec 2018 08:28:31 +0000 (09:28 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 19 Dec 2018 01:30:02 +0000 (02:30 +0100)
commita8499f65a1d116ffb25db48abbe3bbaefa7cf120
tree18153d9362c12ca447a2579a3dbe935072eb0a13
parent68687daff287f43d77ef83d06379bb8d2facf42e
log: add missing experimental tag

When rte_log_register_type_and_pick_level() has been introduced, it has
been correctly added to the EXPERIMENTAL section of the eal map and the
symbol itself has been marked at its definition.

However, the declaration of this symbol in rte_log.h is missing the
__rte_experimental tag.
Because of this, a user can try to call this symbol without being aware
this is an experimental api (neither compilation nor link warning).

Fixes: b22e77c02620 ("eal: register log type and pick level from args")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_eal/common/include/rte_log.h