doc: fix typos in ring lib

Ring library section in PG had a couple of typos,
in the text and in one of the images

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
This commit is contained in:
Pablo de Lara 2014-12-09 12:27:32 +00:00 committed by Thomas Monjalon
parent c75f4e6a7a
commit 0058f08d27
2 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,8 @@
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<!--
# Copyright (c) <2010>, Intel Corporation
# BSD LICENSE
# Copyright (c) <2010-2014>, Intel Corporation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -785,7 +786,7 @@
sodipodi:role="line"
x="78.791893"
y="528.97369"
id="tspan5287">free_entries = (mask + ct - ph) % 65536 = 8383</tspan></text>
id="tspan5287">free_entries = (mask + ct - ph) % 65536 = 5383</tspan></text>
<path
style="fill:#5a750a;fill-opacity:1;stroke:#fd0004;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#Arrow1Mstart);marker-end:url(#Arrow1Mend)"
d="m 324.78109,452.09355 20.16896,0"

View File

@ -236,7 +236,7 @@ On both cores, *ring->prod_head* and ring->cons_tail are copied in local variabl
The prod_next local variable points to the next element of the table,
or several elements after in the case of bulk enqueue.
If there are not enough objects in the ring (this is detected by checking cons_tail), it returns an error.
If there is not enough room in the ring (this is detected by checking cons_tail), it returns an error.
.. image12_png has been replaced