svn commit: r281198 - in head/sys/netgraph/bluetooth: hci include l2cap socket

Bjoern A. Zeeb bz at FreeBSD.org
Tue Apr 7 11:37:10 UTC 2015


> On 07 Apr 2015, at 10:22 , Takanori Watanabe <takawata at FreeBSD.org> wrote:
> 
> Author: takawata
> Date: Tue Apr  7 10:22:56 2015
> New Revision: 281198
> URL: https://svnweb.freebsd.org/changeset/base/281198
> 
> Log:
>  Initial Bluetooth LE support.
> 
>  Note that sockaddr_l2cap structure is changed , check socket address
>  to initialize new structure member and define L2CAP_SOCKET_CHECKED
>  before including ng_btsocket.h
> 
>  Differential Revision:        https://reviews.freebsd.org/D2021
>  Reviewed by:emax
> 


I see a lot of:

/scratch/tmp/bz/head.svn/lib/libbluetooth/../../sys/netgraph/bluetooth/include/ng_btsocket.h:246:2: error: #warning "Make sure new member of socket address initialized"

when trying to build kernels.  Is this expected?


> Modified:
>  head/sys/netgraph/bluetooth/hci/ng_hci_cmds.c
>  head/sys/netgraph/bluetooth/hci/ng_hci_evnt.c
>  head/sys/netgraph/bluetooth/hci/ng_hci_main.c
>  head/sys/netgraph/bluetooth/hci/ng_hci_misc.c
>  head/sys/netgraph/bluetooth/hci/ng_hci_misc.h
>  head/sys/netgraph/bluetooth/hci/ng_hci_ulpi.c
>  head/sys/netgraph/bluetooth/hci/ng_hci_var.h
>  head/sys/netgraph/bluetooth/include/ng_btsocket.h
>  head/sys/netgraph/bluetooth/include/ng_btsocket_l2cap.h
>  head/sys/netgraph/bluetooth/include/ng_hci.h
>  head/sys/netgraph/bluetooth/include/ng_l2cap.h
>  head/sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.c
>  head/sys/netgraph/bluetooth/l2cap/ng_l2cap_cmds.h
>  head/sys/netgraph/bluetooth/l2cap/ng_l2cap_evnt.c
>  head/sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c
>  head/sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.h
>  head/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c
>  head/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.h
>  head/sys/netgraph/bluetooth/l2cap/ng_l2cap_ulpi.c
>  head/sys/netgraph/bluetooth/l2cap/ng_l2cap_var.h
>  head/sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
>  head/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
>  head/sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c

— 
Bjoern A. Zeeb                                  Charles Haddon Spurgeon:
"Friendship is one of the sweetest joys of life.  Many might have failed
 beneath the bitterness of their trial  had they not found a friend."



More information about the svn-src-head mailing list