[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200810184413.GO17456@casper.infradead.org>
Date: Mon, 10 Aug 2020 19:44:13 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Puranjay Mohan <puranjay12@...il.com>
Cc: Jonathan Corbet <corbet@....net>, skhan@...uxfoundation.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Driver-API: Documentation: Replace deprecated :c:func:
Usage
On Mon, Aug 10, 2020 at 11:51:07PM +0530, Puranjay Mohan wrote:
> Replace :c:func: with func() as the previous usage is deprecated.
Generally, reflowing text as part of these patches is discouraged,
but I'd make an exception here:
> @@ -135,15 +135,15 @@ Accessing Port Space
>
> Accesses to this space are provided through a set of functions which
> allow 8-bit, 16-bit and 32-bit accesses; also known as byte, word and
> -long. These functions are :c:func:`inb()`, :c:func:`inw()`,
> -:c:func:`inl()`, :c:func:`outb()`, :c:func:`outw()` and
> -:c:func:`outl()`.
> +long. These functions are inb(), inw(),
> +inl(), outb(), outw() and
> +outl().
...
+long. These functions are inb(), inw(), inl(), outb(), outw() and outl().
The others are more of a judgement call where we could go either way.
Powered by blists - more mailing lists