linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Cc: Anderson Lizardo <anderson.lizardo@openbossa.org>,
	"linux-bluetooth@vger.kernel.org"
	<linux-bluetooth@vger.kernel.org>
Subject: Re: [PATCH 0/7] RFC: proximity cleanup
Date: Mon, 3 Sep 2012 14:33:23 +0300	[thread overview]
Message-ID: <20120903113323.GA28983@x220> (raw)
In-Reply-To: <50445E09.9000909@tieto.com>

Hi Andrzej,

On Mon, Sep 03, 2012, Andrzej Kaczmarek wrote:
> On 08/31/2012 06:17 PM, Anderson Lizardo wrote:
> >Hi Andrzej,
> >
> >On Fri, Aug 31, 2012 at 8:48 AM, Andrzej Kaczmarek
> ><andrzej.kaczmarek@tieto.com> wrote:
> >>Hi,
> >>
> >>Here are few patches to cleanup proximity profile code a bit which seem to
> >>keep track of some data which are redundant and has minor issue with device
> >>driver registration.
> >>
> >>Most cleanup is done in patch #3 which removes tracking of DBusConnection
> >>across whole plugin and simply uses get_dbus_connection() wherever necessary.
> >>This is different than other profile plugins do, but reduces code size and
> >>memory footprint a bit so can be done for other plugins as well if accepted.
> >
> >While some cleanups here are very welcome, I'm worried that you are
> >cleaning up things before finishing the Proximity Reporter
> >implementation. Power Level characteristic for instance is currently a
> >stub, how do you plan to store it per adapter, without the struct
> >reporter_adapter?
> 
> Ah, I didn't find it on TODO so assumed it's complete. But you're
> right, it probably should not be removed.
> 
> >Therefore I suggest you split the "trivial" cleanups from the removal
> >of struct reporter_adapter.
> 
> Please just consider patches #6 and #7 as invalid for now, I think
> there's no point in sending #1-5 once more until there are some
> comments to fix.
> 
> >BTW, do you have plans to add more features to the Proximity Reporter
> >implementation?
> 
> No plans at the moment, but perhaps I'll take a look on this in more
> details after HRP is finished (v2 will be sent soon).

I've applied patches 1-4. Patch 5 didn't really make sense anymore after
the btd_profile refactoring that went in just a moment ago, and as you
said patch 6 and 7 can be considered invalid for now.

Johan

      reply	other threads:[~2012-09-03 11:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-31 12:48 [PATCH 0/7] RFC: proximity cleanup Andrzej Kaczmarek
2012-08-31 12:48 ` [PATCH 1/7] proximity: Change adapter driver function names Andrzej Kaczmarek
2012-08-31 12:48 ` [PATCH 2/7] proximity: Remove unused definitions Andrzej Kaczmarek
2012-08-31 12:48 ` [PATCH 3/7] proximity: Simplify DBusConnection object usage Andrzej Kaczmarek
2012-08-31 12:48 ` [PATCH 4/7] proximity: Move reporter device driver registration to manager Andrzej Kaczmarek
2012-08-31 12:48 ` [PATCH 5/7] proximity: Remove unnecessary check for GATT enabled Andrzej Kaczmarek
2012-08-31 12:48 ` [PATCH 6/7] proximity: Remove list of adapter devices Andrzej Kaczmarek
2012-08-31 12:48 ` [PATCH 7/7] proximity: Remove reporter_adapter Andrzej Kaczmarek
2012-08-31 16:17 ` [PATCH 0/7] RFC: proximity cleanup Anderson Lizardo
2012-09-03  7:36   ` Andrzej Kaczmarek
2012-09-03 11:33     ` Johan Hedberg [this message]

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=20120903113323.GA28983@x220 \
    --to=johan.hedberg@gmail.com \
    --cc=anderson.lizardo@openbossa.org \
    --cc=andrzej.kaczmarek@tieto.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).