Re: [PATCH] Bluetooth: Add missing newline to bt_dev_{err,warn}_ratelimited()

From: patchwork-bot+bluetooth

Date: Wed Oct 07 2026 - 13:31:00 EST


Hello:

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

On Tue, 6 Oct 2026 17:21:42 -0400 you wrote:
> bt_dev_err_ratelimited() and bt_dev_warn_ratelimited() pass the format
> string to bt_err_ratelimited()/bt_warn_ratelimited() without appending
> a newline, unlike bt_dev_err() and bt_dev_warn(), which go through
> BT_ERR()/BT_WARN() and add one. Only 2 of the 22 in-tree callers (both
> in virtio_bt) put the newline in their own format string.
>
> A printk record without a trailing newline is stored with prb_commit()
> instead of prb_final_commit(), and readers of the log buffer (/dev/kmsg,
> syslog) do not see it until it is finalized, which only happens when the
> next record is reserved. These messages therefore stay invisible until
> some unrelated message is printed, and journald, which timestamps a
> record when it reads it, logs them with the time of that later message.
>
> [...]

Here is the summary with links:
- Bluetooth: Add missing newline to bt_dev_{err,warn}_ratelimited()
https://git.kernel.org/bluetooth/bluetooth-next/c/f3d041ec63f7

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