projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
503914c
)
Bluetooth: Fix PTR_ERR return of wrong pointer in hidp_setup_hid()
author
Roel Kluin
<roel.kluin@gmail.com>
Mon, 7 Dec 2009 13:23:21 +0000
(14:23 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 17 Dec 2009 19:47:20 +0000
(11:47 -0800)
Return the PTR_ERR of the correct pointer.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hidp/core.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/hidp/core.c
b/net/bluetooth/hidp/core.c
index 569750010fd320518001adf61ea501a577f5feb7..18e7f5a43dc4fd8eda8d34a7b65e98752c86946f 100644
(file)
--- a/
net/bluetooth/hidp/core.c
+++ b/
net/bluetooth/hidp/core.c
@@
-770,7
+770,7
@@
static int hidp_setup_hid(struct hidp_session *session,
hid = hid_allocate_device();
if (IS_ERR(hid))
- return PTR_ERR(
session->
hid);
+ return PTR_ERR(hid);
session->hid = hid;
session->req = req;