Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH sbc] sbc: Fix SBC_ALIGNED attribute order in sbv_priv
@ 2026-12-01 23:18 James Getzendanner
  0 siblings, 0 replies; only message in thread
From: James Getzendanner @ 2026-12-01 23:18 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: James Getzendanner

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-01 23:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 23:18 [PATCH sbc] sbc: Fix SBC_ALIGNED attribute order in sbv_priv James Getzendanner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox