All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/1] shared/bap: Fix load of misaligned address error
@ 2024-10-02 13:35 Iulia Tanasescu
  2024-10-02 13:35 ` [PATCH BlueZ 1/1] " Iulia Tanasescu
  2024-10-03 16:50 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 4+ messages in thread
From: Iulia Tanasescu @ 2024-10-02 13:35 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: claudia.rosu, mihai-octavian.urzica, vlad.pruteanu,
	andrei.istodorescu, luiz.dentz, Iulia Tanasescu

This fixes the "load of misaligned address" error that appears when
parsing PAC caps:

src/shared/bap.c:6497:7: runtime error: load of misaligned address
0x502000063639 for type 'uint16_t', which requires 2 byte alignment

0x502000063639: note: pointer points here
 02 03 05  04 1a 00 f0 00 02 03 01  02 11 00 00 08 00 00 00  a3 00 00
              ^                        00 00 00 00 00  01 00 00 00 01

src/shared/bap.c:6498:7: runtime error: load of misaligned address
0x502000063639 for type 'uint16_t', which requires 2 byte alignment

0x502000063639: note: pointer points here
 02 03 05  04 1a 00 f0 00 02 03 01  02 11 00 00 08 00 00 00  a3 00 00
              ^                        00 00 00 00 00  01 00 00 00 01

Iulia Tanasescu (1):
  shared/bap: fix load of misaligned address error

 src/shared/bap.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)


base-commit: 38734e02051364b4b6db6e684beda8c47a1ba452
-- 
2.43.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-03 16:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-02 13:35 [PATCH BlueZ 0/1] shared/bap: Fix load of misaligned address error Iulia Tanasescu
2024-10-02 13:35 ` [PATCH BlueZ 1/1] " Iulia Tanasescu
2024-10-02 15:02   ` bluez.test.bot
2024-10-03 16:50 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth

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.