From: Marcel Holtmann <marcel@holtmann.org>
To: Michael Frey <mfrey@pepper.com>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] HIDP backport for 2.4
Date: Mon, 26 Jul 2004 20:16:30 +0200 [thread overview]
Message-ID: <1090865790.29589.5.camel@pegasus> (raw)
In-Reply-To: <5F07F140-DF2E-11D8-B83A-00039390D626@pepper.com>
Hi Michael,
> ok -- got past those -- now here are some more.
your kernel is a little bit outdated ;)
> sock.c: In function `hidp_sock_ioctl':
> sock.c:84: warning: implicit declaration of function `sockfd_lookup'
> sock.c:84: warning: assignment makes pointer from integer without a cast
> sock.c:88: warning: assignment makes pointer from integer without a cast
Copy sockfd_lookup() from net/bluetooth/bnep/core.c
> sock.c: In function `hidp_init_sockets':
> sock.c:200: error: `BTPROTO_HIDP' undeclared (first use in this
> function)
> sock.c:200: error: (Each undeclared identifier is reported only once
> sock.c:200: error: for each function it appears in.)
> sock.c: In function `hidp_cleanup_sockets':
> sock.c:210: error: `BTPROTO_HIDP' undeclared (first use in this
> function)
> make[3]: *** [sock.o] Error 1
Here is a patch for that problem. It is already in the mainline tree.
diff -Nru a/include/net/bluetooth/bluetooth.h
b/include/net/bluetooth/bluetooth.h
--- a/include/net/bluetooth/bluetooth.h 2004-07-26 20:15:15 +02:00
+++ b/include/net/bluetooth/bluetooth.h 2004-07-26 20:15:15 +02:00
@@ -52,6 +52,7 @@
#define BTPROTO_RFCOMM 3
#define BTPROTO_BNEP 4
#define BTPROTO_CMTP 5
+#define BTPROTO_HIDP 6
#define SOL_HCI 0
#define SOL_L2CAP 6
diff -Nru a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.c
--- a/net/bluetooth/af_bluetooth.c 2004-07-26 20:15:15 +02:00
+++ b/net/bluetooth/af_bluetooth.c 2004-07-26 20:15:15 +02:00
@@ -57,7 +57,7 @@
#endif
/* Bluetooth sockets */
-#define BLUEZ_MAX_PROTO 6
+#define BLUEZ_MAX_PROTO 7
static struct net_proto_family *bluez_proto[BLUEZ_MAX_PROTO];
int bluez_sock_register(int proto, struct net_proto_family *ops)
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2004-07-26 18:16 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-17 8:58 [Bluez-devel] HIDP backport for 2.4 Marcel Holtmann
2004-07-25 12:52 ` Marcel Holtmann
2004-07-25 16:57 ` Michael Frey
2004-07-26 17:24 ` Michael Frey
2004-07-26 17:47 ` Marcel Holtmann
2004-07-26 18:05 ` Michael Frey
2004-07-26 18:16 ` Marcel Holtmann [this message]
2004-07-26 18:49 ` Michael Frey
2004-07-26 21:01 ` Marcel Holtmann
2004-07-27 0:31 ` Michael Frey
2004-07-27 8:18 ` Marcel Holtmann
2004-07-27 14:53 ` Michael Frey
2004-07-27 15:01 ` Marcel Holtmann
2004-07-27 15:14 ` Michael Frey
2004-07-27 15:24 ` Marcel Holtmann
[not found] ` <86089F56-DFE5-11D8-BE76-00039390D626@pepper.com>
2004-08-01 15:57 ` Marcel Holtmann
2004-08-11 21:19 ` Michael Frey
2004-08-11 22:11 ` Marcel Holtmann
2004-08-13 17:27 ` Michael Frey
2004-08-13 17:53 ` Marcel Holtmann
2004-08-13 18:16 ` Michael Frey
2004-08-13 18:21 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1090865790.29589.5.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
--cc=mfrey@pepper.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.