Re: [PATCH v3 1/2] Bluetooth: hci_core: Fix build warnings

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

 



Hello:

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

On Fri, 15 Sep 2023 16:47:41 -0700 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
> 
> This fixes the following warnings:
> 
> net/bluetooth/hci_core.c: In function ‘hci_register_dev’:
> net/bluetooth/hci_core.c:2620:54: warning: ‘%d’ directive output may
> be truncated writing between 1 and 10 bytes into a region of size 5
> [-Wformat-truncation=]
>  2620 |         snprintf(hdev->name, sizeof(hdev->name), "hci%d", id);
>       |                                                      ^~
> net/bluetooth/hci_core.c:2620:50: note: directive argument in the range
> [0, 2147483647]
>  2620 |         snprintf(hdev->name, sizeof(hdev->name), "hci%d", id);
>       |                                                  ^~~~~~~
> net/bluetooth/hci_core.c:2620:9: note: ‘snprintf’ output between 5 and
> 14 bytes into a destination of size 8
>  2620 |         snprintf(hdev->name, sizeof(hdev->name), "hci%d", id);
>       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> [...]

Here is the summary with links:
  - [v3,1/2] Bluetooth: hci_core: Fix build warnings
    https://git.kernel.org/bluetooth/bluetooth-next/c/0e2bdaccb10a
  - [v3,2/2] Bluetooth: hci_codec: Fix leaking content of local_codecs
    https://git.kernel.org/bluetooth/bluetooth-next/c/67e19b75b662

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