All of lore.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] e2bb5a: emulator: Fix compilation on big endian systems
@ 2026-02-10 10:29 hadess
  0 siblings, 0 replies; only message in thread
From: hadess @ 2026-02-10 10:29 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/1052631
  Home:   https://github.com/bluez/bluez
  Commit: e2bb5a9cd38cae80490fbd12cd3861ed8180f3a7
      https://github.com/bluez/bluez/commit/e2bb5a9cd38cae80490fbd12cd3861ed8180f3a7
  Author: Bastien Nocera <hadess@hadess.net>
  Date:   2026-02-10 (Tue, 10 Feb 2026)

  Changed paths:
    M emulator/bthost.c

  Log Message:
  -----------
  emulator: Fix compilation on big endian systems

This fixes the build on big endian systems like s390x:

Remove the "static" so the array doesn't need to be initialised
with constants.

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")



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-10 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-10 10:29 [bluez/bluez] e2bb5a: emulator: Fix compilation on big endian systems hadess

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.