Linux bluetooth development
 help / color / mirror / Atom feed
From: James Getzendanner <durandal@google.com>
To: linux-bluetooth@vger.kernel.org
Cc: James Getzendanner <durandal@google.com>
Subject: [PATCH sbc] sbc: Fix SBC_ALIGNED attribute order in sbv_priv
Date: Tue,  1 Dec 2026 18:18:50 -0500	[thread overview]
Message-ID: <20261201231851.2801255-1-durandal@google.com> (raw)

Found by clang with -Wignored-attributes

https://godbolt.org/z/7rGM6dKbY

Signed-off-by: James Getzendanner <durandal@google.com>
---
 sbc/sbc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sbc/sbc.c b/sbc/sbc.c
index 2fab366..c8aaff5 100644
--- a/sbc/sbc.c
+++ b/sbc/sbc.c
@@ -981,9 +981,9 @@ static void sbc_encoder_init(bool msbc, struct sbc_encoder_state *state,
 struct sbc_priv {
 	bool init;
 	bool msbc;
-	struct SBC_ALIGNED sbc_frame frame;
-	struct SBC_ALIGNED sbc_decoder_state dec_state;
-	struct SBC_ALIGNED sbc_encoder_state enc_state;
+	SBC_ALIGNED struct sbc_frame frame;
+	SBC_ALIGNED struct sbc_decoder_state dec_state;
+	SBC_ALIGNED struct sbc_encoder_state enc_state;
 	int (*unpack_frame)(const uint8_t *data, struct sbc_frame *frame,
 			size_t len);
 	ssize_t (*pack_frame)(uint8_t *data, struct sbc_frame *frame,
-- 
2.56.1.911.g883d8bcb20-goog


                 reply	other threads:[~2026-12-01 23:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20261201231851.2801255-1-durandal@google.com \
    --to=durandal@google.com \
    --cc=linux-bluetooth@vger.kernel.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