Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4634926pxk; Wed, 30 Sep 2020 08:00:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFhOfKxKzkhFNMpPrDS6JUdKSMwW72KyySbS5SxqqJ3MeWLktPTOUVF3GYogrfolnoxIUV X-Received: by 2002:a05:6402:17b6:: with SMTP id j22mr2999733edy.377.1601478004965; Wed, 30 Sep 2020 08:00:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601478004; cv=none; d=google.com; s=arc-20160816; b=yqJu3LR0v0rF/drRXpzltiuwBJ11Wc4ZzwTw+OLjLb1JBN+c9/kMZQPnFtldX+cvhl ONk8by9x3xtvcsjvN57iEdJmoHRfe/WOZItxLsgu8qeX4rtPqEtkHxAB37guhchcpq8m Og4fpw1CDbbNHYSg9U2vX54CHtxox55EW7td8CG7AXC7xhaerj9bGrduWYGPRc49320z Z9nqW1AO2lVzx3xfUVU09C4C8YC289j9YrMRJwOHvASR6NbH7Webst8+Zbg+HIdzf6y/ P23szkPTfsvFg3JPeE35RwgkSO0rluuJcttycX0p58bbuxAmHGSaFplonMCxugGAHrds wwTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date; bh=IpAFkLhMIpor7uqtSn0OJes/8fT0IABBPhPIDf+uGtc=; b=bEL9tXltEWO9pBZC8Tlky1aRlsjKmkxprtNEETrtbh+m2yK63BWIrr17rmv7+RVAs/ AOWJJkdTxeRrVen9U19jigmkgwRIADYGW+oPBWCZPFeW5BdzChWWfBEDw5NXaZElR4J+ Q1ou+y6RyqF/lDJQIAtfNQu6yUVN6bN+2nWuoZ+Gd3NI0KfeuX8Kw7h1Quyz6HxnqexD Zm9/OxS7+jspNgW1+FLzt2tx3cCcfDZzWVVQkOWsflcN3wEfcMLF+EeILFvjcD8JrXto po4EZ+qJH4JMyHjJpmQHuf20iIH5GIDecwhFXJAp2hjPDcXAceQZOcm1qwpdxqtDneFz aYlQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id no2si1305373ejb.344.2020.09.30.07.59.41; Wed, 30 Sep 2020 08:00:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730633AbgI3O6Y (ORCPT + 99 others); Wed, 30 Sep 2020 10:58:24 -0400 Received: from mx2.suse.de ([195.135.220.15]:53844 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728729AbgI3O6X (ORCPT ); Wed, 30 Sep 2020 10:58:23 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id D5AA4B2DC; Wed, 30 Sep 2020 14:58:20 +0000 (UTC) Date: Wed, 30 Sep 2020 16:58:20 +0200 Message-ID: From: Takashi Iwai To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Jonathan Corbet , Arnd Bergmann , Jaroslav Kysela , Julia Lawall , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 39/52] docs: writing-an-alsa-driver.rst: fix some bad c:func: markups In-Reply-To: <9c68c182ae5aa978d68b64695b1e3292fcf58e76.1601467849.git.mchehab+huawei@kernel.org> References: <9c68c182ae5aa978d68b64695b1e3292fcf58e76.1601467849.git.mchehab+huawei@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 Sep 2020 15:25:02 +0200, Mauro Carvalho Chehab wrote: > > Some such markups are invalid, as reported by Sphinx: > > ./Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3317: WARNING: Unparseable C cross-reference: 'snd_rawmidi_transmit*' > Invalid C declaration: Expected end of definition. [error at 20] > snd_rawmidi_transmit* > --------------------^ > ./Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3917: WARNING: Unparseable C cross-reference: 'copy_from/to_user' > Invalid C declaration: Expected end of definition. [error at 9] > copy_from/to_user > ---------^ > > The first case seems to be better replaced by a literal. > > For the second one, let's generate cross-references, by > spliting it in two. > > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Takashi Iwai thanks, Takashi