From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH v2 09/10] doc: fix syntax in pmdinfogen guide Date: Fri, 8 Jul 2016 12:14:14 +0200 Message-ID: <1467972855-21873-10-git-send-email-thomas.monjalon@6wind.com> References: <1467905790-10597-1-git-send-email-thomas.monjalon@6wind.com> <1467972855-21873-1-git-send-email-thomas.monjalon@6wind.com> Cc: dev@dpdk.org To: Neil Horman Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 6E5D85A41 for ; Fri, 8 Jul 2016 12:14:28 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id z126so10201710wme.0 for ; Fri, 08 Jul 2016 03:14:28 -0700 (PDT) In-Reply-To: <1467972855-21873-1-git-send-email-thomas.monjalon@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Sphynx reports this error: doc/guides/prog_guide/dev_kit_build_system.rst:337: WARNING: Pygments lexer name u'C' is not known Fixes: 737ddf3fb ("doc: add prog guide section documenting pmdinfo script") Reported-by: Bernard Iremonger Signed-off-by: Thomas Monjalon Acked-by: Neil Horman --- doc/guides/prog_guide/dev_kit_build_system.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/guides/prog_guide/dev_kit_build_system.rst b/doc/guides/prog_guide/dev_kit_build_system.rst index 1dc1388..18a3010 100644 --- a/doc/guides/prog_guide/dev_kit_build_system.rst +++ b/doc/guides/prog_guide/dev_kit_build_system.rst @@ -319,8 +319,7 @@ instance the macro: .. code-block:: c - PMD_REGISTER_DRIVER(drv, name) - + PMD_REGISTER_DRIVER(drv, name) Creates the following symbol: @@ -334,7 +333,7 @@ can be exported from the object file and used to produce a hardware support description, that pmdinfogen then encodes into a json formatted string in the following format: -.. code-block:: C +.. code-block:: c static char ="PMD_INFO_STRING=\"{'name' : '', ...}\""; -- 2.7.0