* [PATCH] Bluetooth: Fix code style warning [not found] <20250129123330.391567-2-deaner92.ref@yahoo.com> @ 2025-01-29 12:33 ` deaner92 2025-01-29 20:20 ` patchwork-bot+bluetooth 0 siblings, 1 reply; 2+ messages in thread From: deaner92 @ 2025-01-29 12:33 UTC (permalink / raw) To: luiz.dentz Cc: deaner92, marcel, linux-bluetooth, linux-kernel, markus.elfring From: Jeremy Clifton <deaner92@yahoo.com> Output of checkpatch shows warning: drivers/bluetooth/bfusb.c:368: WARNING: braces {} are not necessary for single statement blocks Remove braces for single line statement. Signed-off-by: Jeremy Clifton <deaner92@yahoo.com> --- drivers/bluetooth/bfusb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c index cab93935cc7f..0d6ad50da046 100644 --- a/drivers/bluetooth/bfusb.c +++ b/drivers/bluetooth/bfusb.c @@ -365,9 +365,8 @@ static void bfusb_rx_complete(struct urb *urb) buf += 3; } - if (count < len) { + if (count < len) bt_dev_err(data->hdev, "block extends over URB buffer ranges"); - } if ((hdr & 0xe1) == 0xc1) bfusb_recv_block(data, hdr, buf, len); -- 2.43.0 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Bluetooth: Fix code style warning 2025-01-29 12:33 ` [PATCH] Bluetooth: Fix code style warning deaner92 @ 2025-01-29 20:20 ` patchwork-bot+bluetooth 0 siblings, 0 replies; 2+ messages in thread From: patchwork-bot+bluetooth @ 2025-01-29 20:20 UTC (permalink / raw) To: Jeremy Dean Cc: luiz.dentz, marcel, linux-bluetooth, linux-kernel, markus.elfring Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Wed, 29 Jan 2025 13:33:30 +0100 you wrote: > From: Jeremy Clifton <deaner92@yahoo.com> > > Output of checkpatch shows warning: > drivers/bluetooth/bfusb.c:368: WARNING: braces {} are not necessary > for single statement blocks > > Remove braces for single line statement. > > [...] Here is the summary with links: - Bluetooth: Fix code style warning https://git.kernel.org/bluetooth/bluetooth-next/c/a2a245849af8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-29 20:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250129123330.391567-2-deaner92.ref@yahoo.com>
2025-01-29 12:33 ` [PATCH] Bluetooth: Fix code style warning deaner92
2025-01-29 20:20 ` patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox