* [PATCH] bluetooth: hidp core debug code wrong argument fix
@ 2007-10-19 5:00 Dave Young
2007-10-20 13:51 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Dave Young @ 2007-10-19 5:00 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: bluez-devel, LKML
In the debug code of the hidp_queue_report function, the "device" variable does not exist, replace it with "session->hid"
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
---
net/bluetooth/hidp/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -upr linux/net/bluetooth/hidp/core.c linux.new/net/bluetooth/hidp/core.c
--- linux/net/bluetooth/hidp/core.c 2007-10-15 14:05:23.000000000 +0800
+++ linux.new/net/bluetooth/hidp/core.c 2007-10-15 14:06:38.000000000 +0800
@@ -247,7 +247,7 @@ static inline int hidp_queue_report(stru
{
struct sk_buff *skb;
- BT_DBG("session %p hid %p data %p size %d", session, device, data, size);
+ BT_DBG("session %p hid %p data %p size %d", session, session->hid, data, size);
if (!(skb = alloc_skb(size + 1, GFP_ATOMIC))) {
BT_ERR("Can't allocate memory for new frame");
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] bluetooth: hidp core debug code wrong argument fix
2007-10-19 5:00 [PATCH] bluetooth: hidp core debug code wrong argument fix Dave Young
@ 2007-10-20 13:51 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2007-10-20 13:51 UTC (permalink / raw)
To: Dave Young; +Cc: bluez-devel, LKML
Hi Dave,
> In the debug code of the hidp_queue_report function, the "device" variable does not exist, replace it with "session->hid"
applied to my tree. Thanks.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-20 13:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-19 5:00 [PATCH] bluetooth: hidp core debug code wrong argument fix Dave Young
2007-10-20 13:51 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox