From: Mauro Carvalho Chehab Date: Tue, 29 Sep 2020 10:43:40 +0000 (+0200) Subject: docs: mei.rst: fix a C expression markup X-Git-Tag: v5.15~2647^2~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ccf1227313cf583cad2d47b043fc3bb90438f2ca;p=platform%2Fkernel%2Flinux-starfive.git docs: mei.rst: fix a C expression markup Sphinx 3.x doesn't allow expressions using :c:func markup: ./Documentation/driver-api/mei/mei.rst:41: WARNING: Unparseable C cross-reference: 'close(int fd)' Invalid C declaration: Expected end of definition. [error at 5] close(int fd) -----^ So, convert it into a :c:expr. Acked-by: Tomas Winkler Signed-off-by: Mauro Carvalho Chehab --- diff --git a/Documentation/driver-api/mei/mei.rst b/Documentation/driver-api/mei/mei.rst index c800d8e..71edf02 100644 --- a/Documentation/driver-api/mei/mei.rst +++ b/Documentation/driver-api/mei/mei.rst @@ -38,7 +38,7 @@ Because some of the Intel ME features can change the system configuration, the driver by default allows only a privileged user to access it. -The session is terminated calling :c:func:`close(int fd)`. +The session is terminated calling :c:expr:`close(fd)`. A code snippet for an application communicating with Intel AMTHI client: