Some backslashes was added while converting from .md to .rst. These symbols are printable in both pdf and html docs and should be removed.
CC: Stephen Finucane <[email protected]> Fixes: d124a408a4bc ("doc: Convert CodingStyle to rST") Signed-off-by: Ilya Maximets <[email protected]> --- Documentation/internals/contributing/coding-style.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/internals/contributing/coding-style.rst b/Documentation/internals/contributing/coding-style.rst index 3ce104994..28cbec28b 100644 --- a/Documentation/internals/contributing/coding-style.rst +++ b/Documentation/internals/contributing/coding-style.rst @@ -530,7 +530,7 @@ Do not put any white space around postfix, prefix, or grouping operators: Exception 1: Put a space after (but not before) the "sizeof" keyword. Exception 2: Put a space between the () used in a cast and the expression whose -type is cast: ``(void \*) 0``. +type is cast: ``(void *) 0``. Break long lines before the ternary operators ? and :, rather than after them, e.g. @@ -585,7 +585,7 @@ Try to avoid casts. Don't cast the return value of malloc(). The "sizeof" operator is unique among C operators in that it accepts two very different kinds of operands: an expression or a type. In general, prefer to -specify an expression, e.g. ``int *x = xmalloc(sizeof *\ x);``. When the +specify an expression, e.g. ``int *x = xmalloc(sizeof *x);``. When the operand of sizeof is an expression, there is no need to parenthesize that operand, and please don't. -- 2.17.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
