* [bluez/bluez] f7ada9: shared/util: Add byte-swapping macros for constants
@ 2026-02-09 20:54 hadess
0 siblings, 0 replies; only message in thread
From: hadess @ 2026-02-09 20:54 UTC (permalink / raw)
To: linux-bluetooth
Branch: refs/heads/1052425
Home: https://github.com/bluez/bluez
Commit: f7ada9ee6bf13e9dfee92aee847af1bd252fcbeb
https://github.com/bluez/bluez/commit/f7ada9ee6bf13e9dfee92aee847af1bd252fcbeb
Author: Bastien Nocera <hadess@hadess.net>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M src/shared/util.h
Log Message:
-----------
shared/util: Add byte-swapping macros for constants
We can't use functions to populate constants, so add new helpers for
the various __bswap_constant_XX macros available for that purpose.
Commit: 4b83f8842c1e1809a5738e0dbfa0e78ea71eb0f5
https://github.com/bluez/bluez/commit/4b83f8842c1e1809a5738e0dbfa0e78ea71eb0f5
Author: Bastien Nocera <hadess@hadess.net>
Date: 2026-02-09 (Mon, 09 Feb 2026)
Changed paths:
M emulator/bthost.c
Log Message:
-----------
emulator: Fix compilation on big endian systems
Use new helper macros for byteswapping constants.
This fixes the build on big endian systems like s390x:
emulator/bthost.c: In function ‘bthost_setup_sco’:
./src/shared/util.h:43:26: error: initializer element is not constant
43 | #define cpu_to_le32(val) bswap_32(val)
| ^~~~~~~~
etc.
Fixes: 85888a8357ea ("bthost: add bthost_setup_sco() and accept
incoming eSCO")
Compare: https://github.com/bluez/bluez/compare/f7ada9ee6bf1%5E...4b83f8842c1e
To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-02-09 20:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-09 20:54 [bluez/bluez] f7ada9: shared/util: Add byte-swapping macros for constants hadess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox