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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 8A397CA9EA0 for ; Tue, 22 Oct 2019 20:38:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5BD0B21848 for ; Tue, 22 Oct 2019 20:38:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731461AbfJVUiY (ORCPT ); Tue, 22 Oct 2019 16:38:24 -0400 Received: from ms.lwn.net ([45.79.88.28]:48476 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727582AbfJVUiX (ORCPT ); Tue, 22 Oct 2019 16:38:23 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 1F22037B; Tue, 22 Oct 2019 20:38:23 +0000 (UTC) Date: Tue, 22 Oct 2019 14:38:21 -0600 From: Jonathan Corbet To: Chris Packham Cc: "linux-kernel@vger.kernel.org" , "willy@infradead.org" , "linux-doc@vger.kernel.org" Subject: Re: [PATCH] docs/core-api: memory-allocation: mention size helpers Message-ID: <20191022143821.2d20772d@lwn.net> In-Reply-To: References: <20191021212751.21300-1-chris.packham@alliedtelesis.co.nz> <20191022071920.4efff72b@lwn.net> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Oct 2019 20:05:38 +0000 Chris Packham 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