* [PULL 0/1] Docs update for 2026-05-13
@ 2026-05-13 17:58 Pierrick Bouvier
2026-05-13 17:58 ` [PULL 1/1] docs/devel: Fix formatting of `Error **` Pierrick Bouvier
2026-05-14 16:28 ` [PULL 0/1] Docs update for 2026-05-13 Stefan Hajnoczi
0 siblings, 2 replies; 3+ messages in thread
From: Pierrick Bouvier @ 2026-05-13 17:58 UTC (permalink / raw)
To: qemu-devel, peter.maydell, richard.henderson, pbonzini, stefanha
Cc: pierrick.bouvier
The following changes since commit 5e61afe211e82a9af15a8794a0bd29bb574e953b:
Merge tag 'ui-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging (2026-05-11 10:49:53 -0400)
are available in the Git repository at:
https://gitlab.com/p-b-o/qemu tags/pbouvier/pr/docs-20260513
for you to fetch changes up to 785724e81c35bb5bb13400d8424e26671a0fd74f:
docs/devel: Fix formatting of `Error **` (2026-05-13 10:57:09 -0700)
----------------------------------------------------------------
Changes:
- [PATCH] docs/devel: Fix formatting of `Error **` (=?utf-8?q?J=2E_Neusch=C3=A4fer?= <j.neuschaefer@9elements.com>)
Link: https://lore.kernel.org/qemu-devel/20260513-error-v1-1-49fa04bc5c22@9elements.com
----------------------------------------------------------------
J. Neuschäfer (1):
docs/devel: Fix formatting of `Error **`
docs/devel/style.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread* [PULL 1/1] docs/devel: Fix formatting of `Error **` 2026-05-13 17:58 [PULL 0/1] Docs update for 2026-05-13 Pierrick Bouvier @ 2026-05-13 17:58 ` Pierrick Bouvier 2026-05-14 16:28 ` [PULL 0/1] Docs update for 2026-05-13 Stefan Hajnoczi 1 sibling, 0 replies; 3+ messages in thread From: Pierrick Bouvier @ 2026-05-13 17:58 UTC (permalink / raw) To: qemu-devel, peter.maydell, richard.henderson, pbonzini, stefanha Cc: pierrick.bouvier From: J. Neuschäfer <j.neuschaefer@9elements.com> Since the ReST conversion, Error ** is expressed as Error ``*````*``, which is rendered in HTML as Error *````*. Fix it so the HTML output resembles the intended C syntax. Fixes: 336a7451e8 ("docs: convert README, CODING_STYLE and HACKING to RST syntax") Signed-off-by: J. Neuschäfer <j.neuschaefer@9elements.com> Tested-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Link: https://lore.kernel.org/qemu-devel/20260513-error-v1-1-49fa04bc5c22@9elements.com Signed-off-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> --- docs/devel/style.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/devel/style.rst b/docs/devel/style.rst index 12e509d10de..b8edcf9316f 100644 --- a/docs/devel/style.rst +++ b/docs/devel/style.rst @@ -784,10 +784,10 @@ error, non-negative / -errno, non-null / null, or Error objects. Example: when a function returns a non-null pointer on success, and it can fail only in one way (as far as the caller is concerned), returning null on failure is just fine, and certainly simpler and a lot easier on -the eyes than propagating an Error object through an Error ``*````*`` parameter. +the eyes than propagating an Error object through an ``Error **`` parameter. Example: when a function's callers need to report details on failure -only the function really knows, use Error ``*````*``, and set suitable errors. +only the function really knows, use ``Error **``, and set suitable errors. Do not report an error to the user when you're also returning an error for somebody else to handle. Leave the reporting to the place that -- 2.43.0 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PULL 0/1] Docs update for 2026-05-13 2026-05-13 17:58 [PULL 0/1] Docs update for 2026-05-13 Pierrick Bouvier 2026-05-13 17:58 ` [PULL 1/1] docs/devel: Fix formatting of `Error **` Pierrick Bouvier @ 2026-05-14 16:28 ` Stefan Hajnoczi 1 sibling, 0 replies; 3+ messages in thread From: Stefan Hajnoczi @ 2026-05-14 16:28 UTC (permalink / raw) To: Pierrick Bouvier Cc: qemu-devel, peter.maydell, richard.henderson, pbonzini, stefanha, pierrick.bouvier [-- Attachment #1: Type: text/plain, Size: 116 bytes --] Applied, thanks. Please update the changelog at https://wiki.qemu.org/ChangeLog/11.1 for any user-visible changes. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-14 18:23 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-05-13 17:58 [PULL 0/1] Docs update for 2026-05-13 Pierrick Bouvier 2026-05-13 17:58 ` [PULL 1/1] docs/devel: Fix formatting of `Error **` Pierrick Bouvier 2026-05-14 16:28 ` [PULL 0/1] Docs update for 2026-05-13 Stefan Hajnoczi
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.