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 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34F5DC77B7F for ; Wed, 3 May 2023 06:10:39 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BF03F13C0; Wed, 3 May 2023 08:09:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BF03F13C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1683094236; bh=tmlrL2HvqTaxzewDu3v84KkCJw+zxbjDckd9cuv5lq0=; h=Date:From:To:Subject:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=YbluK3JRMwV1WuOVXsstFl4hpMz/0EFNHuY/LLmx20mw5BcWGEd4ofkLpjxjs3xH3 Zwc9QF7sV0x7aiO6qQ5joABJf3j2n2W1TnTqwnVepLSAI8arHpIo2tN1bnrLSp7vBH o1NMTKbZ/TWknY33QWoBROIoV4I0zYcLp6UBOGW4= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 26BADF80533; Wed, 3 May 2023 08:09:11 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 657AAF80533; Wed, 3 May 2023 08:09:07 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 87680F804FE for ; Wed, 3 May 2023 08:09:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 87680F804FE Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=GtK0AlUp; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=onBur/FK Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 0EEA61FFD8; Wed, 3 May 2023 06:09:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1683094142; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+t49PqzNz0xM/24vPeyfoW+k2vwxVL++9FCvg5c33FM=; b=GtK0AlUp22O8tQ30XoNOh0ITR251rdWnN7/BwCI8DHmSg/0iIdcFdPtmTaCQxXOmFmMEUS dPBvUkv058Y5gnCSMR/XMGCm8CmE1dznZ96hAS1X8O8Ri4gPeDj1MMjWVXCh6bO6U7dULh sNkRrpz70L4DVeetXVYKVkN9yqZuPfk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1683094142; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+t49PqzNz0xM/24vPeyfoW+k2vwxVL++9FCvg5c33FM=; b=onBur/FKJUp/7Ddlghcp9lxSTWbqnP5Ups4+6hQriBvywfQ84siBfr8dFU3E1otYMsHI6D MtMibOV1FDf5ZHDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id CB68E13584; Wed, 3 May 2023 06:09:01 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id OPqlMH36UWTPJgAAMHmgww (envelope-from ); Wed, 03 May 2023 06:09:01 +0000 Date: Wed, 03 May 2023 08:09:01 +0200 Message-ID: <87fs8endz6.wl-tiwai@suse.de> From: Takashi Iwai To: Bagas Sanjaya Subject: Re: [PATCH] ALSA: docs: Fix code block indentation in ALSA driver example In-Reply-To: <20230503035416.62722-1-bagasdotme@gmail.com> References: <20230503035416.62722-1-bagasdotme@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Message-ID-Hash: HTYTTIXQVGVZAYPATJOPMG2KC6K4YDVE X-Message-ID-Hash: HTYTTIXQVGVZAYPATJOPMG2KC6K4YDVE X-MailFrom: tiwai@suse.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Linux ALSA Subsystem Development , Linux Documentation , Linux Kernel Mailing List , Takashi Iwai , Jonathan Corbet , Oswald Buddenhagen , Miquel Raynal , kernel test robot X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Wed, 03 May 2023 05:54:16 +0200, Bagas Sanjaya wrote: > > Sphinx reports htmldocs warnings: > > Documentation/sound/kernel-api/writing-an-alsa-driver.rst:3997: WARNING: Literal block expected; none found. > Documentation/sound/kernel-api/writing-an-alsa-driver.rst:4004: WARNING: Literal block expected; none found. > Documentation/sound/kernel-api/writing-an-alsa-driver.rst:4009: WARNING: Unexpected indentation. > Documentation/sound/kernel-api/writing-an-alsa-driver.rst:4035: WARNING: Literal block expected; none found. > > These are due to indentation of example driver snippets which is outside > the code block scope. > > Fix these by indenting code blocks in question to the scope. > > Fixes: 4d421eebe1465d ("ALSA: docs: writing-an-alsa-driver.rst: polishing") > Reported-by: kernel test robot > Closes: https://lore.kernel.org/linux-doc/202305021822.4U6XOvGf-lkp@intel.com/ > Signed-off-by: Bagas Sanjaya Thanks, applied. Takashi