Re: [PATCH BlueZ v2 1/2] core: make bt_uuid_hash() portable across archs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This series was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:

On Wed, 29 Jun 2022 14:16:39 -0700 you wrote:
> bt_uuid_t is defined as a byte array, so it can cause alignment errors
> on some architectures, when the two 64 bit halves are treated as u64s.
> This patch ensures proper alignment across all architectures.
> 
> Fixes:
> src/adapter.c: In function ‘bt_uuid_hash’:
> src/adapter.c:3617:8: error: cast increases required alignment of target type [-Werror=cast-align]
>   val = (uint64_t *)&uuid_128.value.u128;
>         ^
> cc1: all warnings being treated as errors
> 
> [...]

Here is the summary with links:
  - [BlueZ,v2,1/2] core: make bt_uuid_hash() portable across archs
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=8fc3368db840
  - [BlueZ,v2,2/2] core: Fix signed vs unsigned compare
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=31690310c096

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux