DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc/versioning: add missing return value type in MAP_STATIC_SYMBOL example
@ 2016-08-14 16:21 Mauricio Vasquez B
  2016-08-24 15:37 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Mauricio Vasquez B @ 2016-08-14 16:21 UTC (permalink / raw)
  To: nhorman; +Cc: dev

The example only had as return type struct, it is actually struct rte_acl_ctx *

Signed-off-by: Mauricio Vasquez B <mauricio.vasquez@polito.it>
---
 doc/guides/contributing/versioning.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/guides/contributing/versioning.rst b/doc/guides/contributing/versioning.rst
index 92b4d7c..3799b76 100644
--- a/doc/guides/contributing/versioning.rst
+++ b/doc/guides/contributing/versioning.rst
@@ -331,11 +331,12 @@ defined, we add this
 
 .. code-block:: c
 
-   struct rte_acl_create_v21(const struct rte_acl_param *param, int debug)
+   struct rte_acl_ctx *
+   rte_acl_create_v21(const struct rte_acl_param *param, int debug)
    {
         ...
    }
-   MAP_STATIC_SYMBOL(struct rte_acl_create(const struct rte_acl_param *param, int debug), rte_acl_create_v21);
+   MAP_STATIC_SYMBOL(struct rte_acl_ctx * rte_acl_create(const struct rte_acl_param *param, int debug), rte_acl_create_v21);
 
 That tells the compiler that, when building a static library, any calls to the
 symbol ``rte_acl_create`` should be linked to ``rte_acl_create_v21``
-- 
1.9.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] doc/versioning: add missing return value type in MAP_STATIC_SYMBOL example
  2016-08-14 16:21 [dpdk-dev] [PATCH] doc/versioning: add missing return value type in MAP_STATIC_SYMBOL example Mauricio Vasquez B
@ 2016-08-24 15:37 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2016-08-24 15:37 UTC (permalink / raw)
  To: Mauricio Vasquez B; +Cc: dev, nhorman

2016-08-14 18:21, Mauricio Vasquez B:
> The example only had as return type struct, it is actually struct rte_acl_ctx *
> 
> Signed-off-by: Mauricio Vasquez B <mauricio.vasquez@polito.it>

Applied (minus a whitespace), thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-24 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-14 16:21 [dpdk-dev] [PATCH] doc/versioning: add missing return value type in MAP_STATIC_SYMBOL example Mauricio Vasquez B
2016-08-24 15:37 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).