Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4638807pxk; Wed, 30 Sep 2020 08:04:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPSRbG4tubyde9x00olRB4JmhqnDBtl0tZWnV6ijIYnfApTeCC3Wnzq7VStR1vsE+i+9mT X-Received: by 2002:aa7:dd4b:: with SMTP id o11mr3092911edw.251.1601478258191; Wed, 30 Sep 2020 08:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601478258; cv=none; d=google.com; s=arc-20160816; b=Agsr1BBjWrMPEucISRoE+EUYEAfAZdkaDUDFqyZr0F/8dL+Iuq4yQKrjuuUmU89zY6 Jb0Qsho3EJdO8um8gU932wnHyk2Ojio3xOIm9NV/9K+dDn2/zzEVT9r4Ml7Rty5nQs3k JGArAglgZ1p1OtmQhT4FDO3whbEDhwNQPcBymJX6GJcjkbrOTOR5gwP/X0FfwYC2nsFC D9JLsT7gkee2nFGPL0rNDpmDynOkJSxvApfRAegFP1YopZGXbrYxh9ZYsWbyjoK2VP74 7kslLao4FL3JPyLR+5ju8ADXxVe6FAHrYszKzyEr8rTEuCUSnBJdg7C9cvWPPY3xqguO Dkcg== 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=iqd1hzBO9qAUeev+axjKO/vrj8suj+yuDTZoBJyl7wU=; b=L3lydQl8ksh+L1ugHgzMkQnSN8gLAGHZZUlxi3rDmBjSrXI9FY8yp1BELUbDXyzxAH wME03lTIh9ntJnI8dhVa7rctmYflMYDprdRgeVQidVskHdxqcyo6mz+58YiRaupWwHDH 7GnICNADu6FH+o8TF23bhWvt0DK7L4aTwfAy5EC/nqbZLBcX/TC5FGE3ijnhANiKGvL5 9nW0yN0zyOZ7/nmVmgRfs0OcarBqQpiLxcklh0LqlxWTWfFzDyKI6/PJjOT7rX0AqN/w bvZpRkeu7jHQYv6qFuqRJG8UzJRD2+pltudC6D+xbRRXcxQXxLxFsCTA5poW4WqY2hEl 9NVQ== 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 l19si1186396edj.152.2020.09.30.08.03.25; Wed, 30 Sep 2020 08:04:18 -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 S1729143AbgI3PAB (ORCPT + 99 others); Wed, 30 Sep 2020 11:00:01 -0400 Received: from mx2.suse.de ([195.135.220.15]:57232 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725872AbgI3PAB (ORCPT ); Wed, 30 Sep 2020 11:00:01 -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 7E873AFA0; Wed, 30 Sep 2020 14:59:59 +0000 (UTC) Date: Wed, 30 Sep 2020 16:59:59 +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 37/52] docs: sound: writing-an-alsa-driver.rst: get rid of :c:type In-Reply-To: <00f330aabda084ede41ceb1932d0d687c42266c3.1601467849.git.mchehab+huawei@kernel.org> References: <00f330aabda084ede41ceb1932d0d687c42266c3.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:00 +0200, Mauro Carvalho Chehab wrote: > > the :c:type shouldn't be used with structs with Sphinx 3, > as the C domain there uses .. c:struct for structs. > > As we have the automarkup extension, let's just get rid of > all :c:type as a hole, as those will be automagically whole? > marked as such. > > This solves a bunch of warnings with Sphinx 3, like those: > > .../Documentation/sound/kernel-api/writing-an-alsa-driver.rst:490: WARNING: Unparseable C cross-reference: 'calling snd_card_free' > Invalid C declaration: Expected end of definition. [error at 8] > calling snd_card_free > --------^ > .../Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3328: 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:3928: WARNING: Unparseable C cross-reference: 'copy_from/to_user' > Invalid C declaration: Expected end of definition. [error at 9] > copy_from/to_user > ---------^ > > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Takashi Iwai thanks, Takashi