From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751406AbdK1FRB (ORCPT ); Tue, 28 Nov 2017 00:17:01 -0500 Received: from mout.gmx.net ([212.227.17.20]:58150 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751256AbdK1FQ7 (ORCPT ); Tue, 28 Nov 2017 00:16:59 -0500 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= To: linux-doc@vger.kernel.org Cc: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Jonathan Corbet , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org Subject: [PATCH] genericirq.rst: Remove :c:func:`...` in code blocks Date: Tue, 28 Nov 2017 06:16:21 +0100 Message-Id: <20171128051633.16458-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.15.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:/5MRRf/15ptNOIUnxWp7fMFdCcZ1hmzMjFxeaaQaH7/SJ3b3PCJ npvpAS/t38y4gZ77GJ1L+YjB3D41zg5F8vtnmJsQnu/O5snC5Nkkm603IFPvEJJ1loHYrPq dl0j2EhTVazx7F44sNowQuOR1lQwm0maaAKZGg2a811aZA1vuF7q3oLEAuPozdSRFt6Kejr 4bCGEwT81LUk51fRZpbkA== X-UI-Out-Filterresults: notjunk:1;V01:K0:5lFSFWq84og=:CZ/SkYEByNzxLLVZJ00JLO FXtQUUxWh3aAcTHeJSQLYlWNAQYAN6P87BmN1Tfw2TK0Q8BiHBDIO1Vy4aNRk9/VeEC+f9C8B 1Z96M1pW/vqy8hq3dIgpy6FM4LUzk++LdajQzR4/JgoWBTi846GUzwd8XeE+ku9RrPfHq99Ko n+4qraRV6Uxs+nuBxX3i1ECoSzA/wZeYo1q2fZMQaYE1ydAoKxtPQZpMQDZCYhFbSMyVS0kN5 lmilhzHWmcQunjGB7hoZK7VosYLOG+CKGPxql367JrCnOWiMpMheABvRWnZy+RhBkaY0guJlK fpzB+84lNjly/o/eKGpDFo3f6k8yRnSUnOFqbMRcf5Bot0I0Z2s0Vldg7ofbut+QGxdsZ+iP3 upBmdjFUPKwk7XrX3QhzfpJtMJKwdcPev7lurFl3S8Iw2mA8VcXZM+Zhos+RYoIxCVaQmxRAH AMAI2c6DVpPAFsJnGaEAAr/uYU2yzkAQw9fQyPjj7BGtt8yH05CvajWPW8HVa00gHj/BZij/I WKc7wqXy7R76Rta6vZzUF5pOg6CV5aoPGzfuU9nt3l7bgH5gXEZzXDnMVIis0MzrK1zFfkcds D7vKHA3Csc8NEWo7NTdOzvlQPFve2R1bXuS1rCkAC2le5GwU6vJQDCAN4UplXCeHts7tgnkyv LsL8z4QKDp/+am8HoLNjJnLWqsSM/RYRH+y+qESXxHqsOcLCC9Gr2kd56rG8gtdhQovODhN8a m0qZcN+9KJS+NGrc6KSI1XchrHBfFa8s9zO8Rlk6oBMAJQ2yVhka0EQs3IHjkRE2yMGHXa2Yn fAJx/Z/X4P+nE4GS1QV7PPQgnOLCQXIuKKdef1joF08RjKtA+8= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In code blocks, :c:func:`...` annotations don't result in cross-references. Instead, they are rendered verbatim. Remove these broken annotations, and mark function calls with parentheses() again. Fixes: 76d40fae1351 ("genericirq.rst: add cross-reference links and use monospaced fonts") Signed-off-by: Jonathan Neuschäfer --- Documentation/core-api/genericirq.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/core-api/genericirq.rst b/Documentation/core-api/genericirq.rst index 0054bd48be84..4da67b65cecf 100644 --- a/Documentation/core-api/genericirq.rst +++ b/Documentation/core-api/genericirq.rst @@ -225,9 +225,9 @@ interrupts. The following control flow is implemented (simplified excerpt):: - :c:func:`desc->irq_data.chip->irq_mask_ack`; + desc->irq_data.chip->irq_mask_ack(); handle_irq_event(desc->action); - :c:func:`desc->irq_data.chip->irq_unmask`; + desc->irq_data.chip->irq_unmask(); Default Fast EOI IRQ flow handler @@ -239,7 +239,7 @@ which only need an EOI at the end of the handler. The following control flow is implemented (simplified excerpt):: handle_irq_event(desc->action); - :c:func:`desc->irq_data.chip->irq_eoi`; + desc->irq_data.chip->irq_eoi(); Default Edge IRQ flow handler @@ -251,15 +251,15 @@ interrupts. The following control flow is implemented (simplified excerpt):: if (desc->status & running) { - :c:func:`desc->irq_data.chip->irq_mask_ack`; + desc->irq_data.chip->irq_mask_ack(); desc->status |= pending | masked; return; } - :c:func:`desc->irq_data.chip->irq_ack`; + desc->irq_data.chip->irq_ack(); desc->status |= running; do { if (desc->status & masked) - :c:func:`desc->irq_data.chip->irq_unmask`; + desc->irq_data.chip->irq_unmask(); desc->status &= ~pending; handle_irq_event(desc->action); } while (status & pending); @@ -293,10 +293,10 @@ simplified version without locking. The following control flow is implemented (simplified excerpt):: if (desc->irq_data.chip->irq_ack) - :c:func:`desc->irq_data.chip->irq_ack`; + desc->irq_data.chip->irq_ack(); handle_irq_event(desc->action); if (desc->irq_data.chip->irq_eoi) - :c:func:`desc->irq_data.chip->irq_eoi`; + desc->irq_data.chip->irq_eoi(); EOI Edge IRQ flow handler -- 2.15.0