From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F2E1C41604 for ; Tue, 6 Oct 2020 14:05:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2C93420789 for ; Tue, 6 Oct 2020 14:05:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601993132; bh=9NOONx3pLO12LxNHsil/1PDY03fyc3flSf9nJAyamo4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=qzJQd8QbkoaPikuNGvBkN0jN2dJe1I12FJWfsMWGsAv1/pJ03DWXVoffjwIZ6ZVUR CvhuzS9NMHavHOvz//JleBh+zXQVGnt8FaUjp+pwL1H0KA2zHQDrcmi6FKFJ56pHVA TZ70DU3MZkaqvJIYQR4Ry/tXtWjkVeaDHk2jXSxE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726863AbgJFOFa (ORCPT ); Tue, 6 Oct 2020 10:05:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:33542 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726483AbgJFOD4 (ORCPT ); Tue, 6 Oct 2020 10:03:56 -0400 Received: from mail.kernel.org (ip5f5ad5bd.dynamic.kabel-deutschland.de [95.90.213.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DEC5C2311C; Tue, 6 Oct 2020 14:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601993035; bh=9NOONx3pLO12LxNHsil/1PDY03fyc3flSf9nJAyamo4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IMJjPumJvC13MQd9hijC+iM5ZG7vGhjk6dzw05PDYFHc1GtTZuEgykV3eoSYrB5vD UlippVp8yY1GrAHCzyLOdGtXMdrgud8zjN7tKDUbAWBRx75uOREIY9lZW+CnpXYqno oCs4Y52eqrGLFa70qD9q+rYn84NdL5uz3KQlvokE= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kPnZJ-0019Ge-0C; Tue, 06 Oct 2020 16:03:53 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , Tomas Winkler , linux-kernel@vger.kernel.org Subject: [PATCH v5 47/52] docs: mei.rst: fix a C expression markup Date: Tue, 6 Oct 2020 16:03:44 +0200 Message-Id: <330199469a2f81975a7985e51bce377cd6a23e89.1601992016.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Documentation/driver-api/mei/mei.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/driver-api/mei/mei.rst b/Documentation/driver-api/mei/mei.rst index cea0b69ec216..4f2ced4ccdc6 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: -- 2.26.2