From: David Marchand <hidden> Date: 2018-12-04 08:28:31
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")
Signed-off-by: David Marchand <redacted>
---
lib/librte_eal/common/include/rte_log.h | 2 ++
1 file changed, 2 insertions(+)
From: Neil Horman <nhorman@tuxdriver.com> Date: 2018-12-04 15:18:53
On Tue, Dec 04, 2018 at 09:28:31AM +0100, David Marchand wrote:
quoted hunk
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")
Signed-off-by: David Marchand <redacted>
---
lib/librte_eal/common/include/rte_log.h | 2 ++
1 file changed, 2 insertions(+)
From: David Marchand <hidden> Date: 2018-12-18 10:29:30
Hello Thomas,
On Tue, Dec 4, 2018 at 4:20 PM Neil Horman [off-list ref] wrote:
On Tue, Dec 04, 2018 at 09:28:31AM +0100, David Marchand wrote:
quoted
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")
Signed-off-by: David Marchand <redacted>
From: Thomas Monjalon <hidden> Date: 2018-12-19 01:30:21
04/12/2018 16:18, Neil Horman:
On Tue, Dec 04, 2018 at 09:28:31AM +0100, David Marchand wrote:
quoted
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")
Signed-off-by: David Marchand <redacted>