Skip to contentSkip to conversation

Bluetooth: Fix too long line with set_advertising() function

PATCH In review Marcel Holtmann 2 participants 2 messages Oct 10, 2013

Subsystems (2)
lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 1/3 Bluetooth: Fix too long line with set_advertising() function

The function declaration goes over 80 characters, so break it down.

---
 net/bluetooth/mgmt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
net/bluetooth/mgmt.c +2 -1
index 7d25d6d..2793bfe 100644
@@ -3255,7 +3255,8 @@ static void set_advertising_complete(struct hci_dev *hdev, u8 status)
 		sock_put(match.sk);
 }
 
-static int set_advertising(struct sock *sk, struct hci_dev *hdev, void *data, u16 len)
+static int set_advertising(struct sock *sk, struct hci_dev *hdev, void *data,
+			   u16 len)
 {
 	struct mgmt_mode *cp = data;
 	struct pending_cmd *cmd;
Signature · 1 line
1.8.3.1
#1 lore raw

Hi Marcel,

Quoted 6 lines · Marcel Holtmann

The function declaration goes over 80 characters, so break it down.

---
 net/bluetooth/mgmt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

All three patches have been applied to bluetooth-next.

Johan