Re: [PATCH] docs/core-api: memory-allocation: mention size helpers

From: Jonathan Corbet
Date: Tue Oct 22 2019 - 16:38:25 EST


On Tue, 22 Oct 2019 20:05:38 +0000
Chris Packham <Chris.Packham@xxxxxxxxxxxxxxxxxxx> wrote:

> > Quick comment: we don't need :c:func: anymore; the markup happens anyway.
> > So rather than adding more of them, could I ask you to please take out the
> > ones that are there now?
>
> So just with backquotes i.e. :c:func:`kmalloc` becomes `kmalloc`?

No, just:

kmalloc()

will do the trick. See:

https://www.kernel.org/doc/html/latest/doc-guide/sphinx.html#the-c-domain

Thanks,

jon