[PATCH 0/6] crypto/tlscreds: QOM style cleanups

Philippe Mathieu-Daudé posted 6 patches 1 month, 3 weeks ago
crypto/tlscredsanon.c | 47 ++++++++++++++-------------
crypto/tlscredspsk.c  | 61 ++++++++++++++++++-----------------
crypto/tlscredsx509.c | 75 ++++++++++++++++++++++---------------------
3 files changed, 96 insertions(+), 87 deletions(-)
[PATCH 0/6] crypto/tlscreds: QOM style cleanups
Posted by Philippe Mathieu-Daudé 1 month, 3 weeks ago
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