From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 28 Mar 2012 17:26:03 +0300 From: Andrei Emeltchenko To: Andre Guedes Cc: linux-bluetooth@vger.kernel.org Subject: Re: [RFC 3/3] Bluetooth: Use address type info from User-space Message-ID: <20120328142601.GB31354@aemeltch-MOBL1> References: <1332892776-12060-1-git-send-email-andre.guedes@openbossa.org> <1332892776-12060-4-git-send-email-andre.guedes@openbossa.org> <20120328085638.GC21905@aemeltch-MOBL1> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Andre, On Wed, Mar 28, 2012 at 11:05:47AM -0300, Andre Guedes wrote: > >> -int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, bdaddr_t *dst) > >> +int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, > >> +                     bdaddr_t *dst, u8 dst_type) > >>  { > >>       struct sock *sk = chan->sk; > >>       bdaddr_t *src = &bt_sk(sk)->src; > >> @@ -1141,8 +1142,8 @@ int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, bdaddr_t *d > >>       __u8 auth_type; > >>       int err; > >> > >> -     BT_DBG("%s -> %s psm 0x%2.2x", batostr(src), batostr(dst), > >> -                                             __le16_to_cpu(chan->psm)); > >> +     BT_DBG("%s -> %s (type %u) psm 0x%2.2x", batostr(src), batostr(dst), > >> +                                     dst_type, __le16_to_cpu(chan->psm)); > > > > If you change style for other functions you might change it here as well. > > Sorry, didn't follow you here. In l2cap_chan_connect you seems align second line at "(". Maybe we need then align the same for debug statement? Best regards Andrei Emeltchenko