From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA1CE3C4B87 for ; Tue, 28 Jul 2026 14:03:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785247432; cv=none; b=C6MqlBtPur2k23rYvsl2/6MFALbxOyDbuZ0/w3s14kXSbUzkoU4eDmm8iYRFvEswJLEHnnlBGd6jASKKTwlByTi3/w67ncmgrrB+ao754eR5x189TUDmuzEk2tW18kmoezD0iBpx1azNQn6wJ6mpRM8aWqqfASbUGHpo4IHj7SQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785247432; c=relaxed/simple; bh=3P2V1rOXNrZN8qtFDkdI5h2+ryAfqyNcBQs1Rd3L8kc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=BJbDBHduQ9XYs2oFF06a+yIMkhP4unMGaz+212sujzkoyawgfpj9IJgP1H8j3qvKf8ooEHxjTsmNEq33JoBz5mxwdvp8eYzWcO2ftHhxJJuq78rNW+f5wTqitbZNtQvDNhoAQtUyV/hgpMrnKs+KBQOoRHkbpzyMCJ3gTw7J1Xg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=QcTTE7Lp; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="QcTTE7Lp" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1785247430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PohtNST+Xy8qYme8Z1wQJAszUVDb0swxBNH2usSpkdU=; b=QcTTE7LppPDYAoBMfzOVMKl9n5sS+XjJBoujM+xf1vgNPVqQD7S7qjR1lA/zytoekP9DnV ULv0Pp7EGIF4rcidV25ni+YXM6Fm/JxLcBo2un17zkoS1rrbTNp99MqdKfQeWH2VLi4qMA xchh6UCU3UtAStWPvcDHd/jPHDbRbP4= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-269-JnQILyFeNDG833Mv4P6lVw-1; Tue, 28 Jul 2026 10:03:47 -0400 X-MC-Unique: JnQILyFeNDG833Mv4P6lVw-1 X-Mimecast-MFC-AGG-ID: JnQILyFeNDG833Mv4P6lVw_1785247423 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id CE94019560BE; Tue, 28 Jul 2026 14:03:42 +0000 (UTC) Received: from blackfin.pond.sub.org (unknown [10.44.22.4]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D4DF21800480; Tue, 28 Jul 2026 14:03:40 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 6D74D21E6920; Tue, 28 Jul 2026 16:03:38 +0200 (CEST) From: Markus Armbruster To: John Snow Cc: Markus Armbruster , qemu-devel@nongnu.org, Alex =?utf-8?Q?Benn=C3=A9e?= , Lukas Straub , Vladimir Sementsov-Ogievskiy , Zhao Liu , Laurent Vivier , "Gonglei (Arei)" , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Alex Williamson , zhenwei pi , Hanna Reitz , Ani Sinha , qemu-block@nongnu.org, Paolo Bonzini , Peter Xu , Kevin Wolf , linux-cxl@vger.kernel.org, Jiri Pirko , Daniel P. =?utf-8?Q?Berrang=C3=A9?= , Stefan Berger , Fabiano Rosas , Stefan Hajnoczi , Michael Tokarev , Igor Mammedov , "Michael S. Tsirkin" , Gerd Hoffmann , Mauro Carvalho Chehab , linux-edac@vger.kernel.org, =?utf-8?Q?Marc-Andr=C3=A9?= Lureau , Richard Henderson , Eric Blake , =?utf-8?Q?C=C3=A9dric?= Le Goater , Jason Wang , qemu-trivial@nongnu.org, Jonathan Cameron Subject: Re: [PATCH v2 00/44] qapi: convert trivial intro sections In-Reply-To: (John Snow's message of "Mon, 27 Jul 2026 13:16:13 -0400") References: <20260723044805.527643-1-jsnow@redhat.com> <87ik65g8xm.fsf@pond.sub.org> <87h5lobypc.fsf@pond.sub.org> Date: Tue, 28 Jul 2026 16:03:38 +0200 Message-ID: <87mrvbtdmt.fsf@pond.sub.org> User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-edac@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 John Snow writes: > On Fri, Jul 24, 2026 at 4:04=E2=80=AFAM Markus Armbruster wrote: >> >> Markus Armbruster writes: >> >> [...] >> >> > Converting single first paragraps is mechanical. For it to be correct, >> > this single paragraph must actually be the overview, and not some other >> > crap. I expect it to be almost always overview. Not sure how to best >> > look for the exceptions. >> >> The separation truly matters only when the inliner inlines the doc >> comment. It potentially matters when it would inline it if the type was >> used differently. > > It also (potentially) matters for auto-generated docs, such as > undocumented members, return types, features*, errors*. The break > point is where these fields get inserted. Right, I forgot about this. There goes my review shortcut... > (*Not currently performed. Not asserting that it will be performed, or > that it is necessarily valuable to do so. Just fleshing out the > category.) > >> >> If I remember correctly, the inliner inlines doc of struct / union base >> type, union branch type, command / event argument type. >> >> Argument can only be struct or union. Base and branch can only be >> struct. >> >> We talked about maybe inlining return types some day. This would be >> struct, union, or array of struct or union. >> >> So, for anything other than struct and union, the inliner doesn't get >> involved, and separating the overview cleanly is just a matter of >> writing style. I'm not sure we care. Even if we elect to care, >> cleaning it up is hardly this series' business. In short, your >> mechanical conversion of single first paragraphs to overview syntax >> should be fine even where a paragraph's contents isn't clearly overview. > > Except in cases where stub positioning matters, see also the former > "TODO:" syntax used to delineate intro/details. > >> >> Structs and unions, however, could use an eye-over. >> >> [...] >>