Skip to contentSkip to conversation

drivers: bluetooth: bfusb: Line over 80 characters in statments

PATCH In review Anchal Jain 1 participant 1 message Sep 14, 2016 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 drivers: bluetooth: bfusb: Line over 80 characters in statments

This patch remove the warning of checkpatch.pl Line over 80 characters. to remove this warning break the statements into small chunks.

---
 drivers/bluetooth/bfusb.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/bluetooth/bfusb.c +4 -2
index 9ae179e..ac509b0 100644
@@ -511,12 +511,14 @@ static int bfusb_send_frame(struct hci_dev *hdev, struct sk_buff *skb)
 	while (count) {
 		size = min_t(uint, count, BFUSB_MAX_BLOCK_SIZE);
 
-		buf[0] = 0xc1 | ((sent == 0) ? 0x04 : 0) | ((count == size) ? 0x08 : 0);
+		buf[0] = 0xc1 | ((sent == 0) ? 0x04 : 0) |
+				 ((count == size) ? 0x08 : 0);
 		buf[1] = 0x00;
 		buf[2] = (size == BFUSB_MAX_BLOCK_SIZE) ? 0 : size;
 
 		memcpy(skb_put(nskb, 3), buf, 3);
-		skb_copy_from_linear_data_offset(skb, sent, skb_put(nskb, size), size);
+		skb_copy_from_linear_data_offset(skb, sent, skb_put(nskb, size),
+						 size);
 
 		sent  += size;
 		count -= size;
Signature · 1 line
1.9.1