From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Daniel P. Berrangé" <berrange@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH 0/6] crypto/tlscreds: QOM style cleanups
Date: Mon, 10 Feb 2025 17:21:29 +0100 [thread overview]
Message-ID: <20250210162135.14123-1-philmd@linaro.org> (raw)
Style cleanup to avoid spreading bad examples:
Prefer accessing parent via QOM cast macro,
avoid using internal 'parent_obj' field.
Philippe Mathieu-Daudé (6):
crypto/tlscredsx509: Rename 'creds' -> 'x509_creds'
crypto/tlscredsx509: Access QOM parent via QCRYPTO_TLS_CREDS() macro
crypto/tlscredspsk: Rename 'creds' -> 'psk_creds'
crypto/tlscredspsk: Access QOM parent via QCRYPTO_TLS_CREDS() macro
crypto/tlscredsanon: Rename 'creds' -> 'anon_creds'
crypto/tlscredsanon: Access QOM parent via QCRYPTO_TLS_CREDS() macro
crypto/tlscredsanon.c | 47 ++++++++++++++-------------
crypto/tlscredspsk.c | 61 ++++++++++++++++++-----------------
crypto/tlscredsx509.c | 75 ++++++++++++++++++++++---------------------
3 files changed, 96 insertions(+), 87 deletions(-)
--
2.47.1
next reply other threads:[~2025-02-10 16:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-10 16:21 Philippe Mathieu-Daudé [this message]
2025-02-10 16:21 ` [PATCH 1/6] crypto/tlscredsx509: Rename 'creds' -> 'x509_creds' Philippe Mathieu-Daudé
2025-02-10 16:32 ` Daniel P. Berrangé
2025-02-10 16:21 ` [PATCH 2/6] crypto/tlscredsx509: Access QOM parent via QCRYPTO_TLS_CREDS() macro Philippe Mathieu-Daudé
2025-02-10 16:21 ` [PATCH 3/6] crypto/tlscredspsk: Rename 'creds' -> 'psk_creds' Philippe Mathieu-Daudé
2025-02-10 16:21 ` [PATCH 4/6] crypto/tlscredspsk: Access QOM parent via QCRYPTO_TLS_CREDS() macro Philippe Mathieu-Daudé
2025-02-10 16:21 ` [PATCH 5/6] crypto/tlscredsanon: Rename 'creds' -> 'anon_creds' Philippe Mathieu-Daudé
2025-02-10 16:21 ` [PATCH 6/6] crypto/tlscredsanon: Access QOM parent via QCRYPTO_TLS_CREDS() macro Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250210162135.14123-1-philmd@linaro.org \
--to=philmd@linaro.org \
--cc=berrange@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).