projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cebf4cf
)
Bluetooth: Fix too long line with set_advertising() function
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 10 Oct 2013 16:47:53 +0000
(09:47 -0700)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 10 Oct 2013 20:07:00 +0000
(22:07 +0200)
The function declaration goes over 80 characters, so break it down.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/mgmt.c
b/net/bluetooth/mgmt.c
index 7d25d6dcd79d5ee005a3357165387d3ef3adab76..2793bfe48707ab6759b14eb05628f6094b7c712e 100644
(file)
--- a/
net/bluetooth/mgmt.c
+++ b/
net/bluetooth/mgmt.c
@@
-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;