From: Johan Hedberg <johan.hedberg@gmail.com>
To: Szymon Janc <szymon.janc@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [RFC v4 00/18] Unaligned memory access fixes
Date: Wed, 5 Sep 2012 12:33:21 +0300 [thread overview]
Message-ID: <20120905093321.GB25573@x220> (raw)
In-Reply-To: <1346769697-9930-1-git-send-email-szymon.janc@tieto.com>
Hi Szymon,
On Tue, Sep 04, 2012, Szymon Janc wrote:
> Changes since V2:
>
> - fixed issues pointed by Anderson
> - some other fixes, cleanups
> - proposed change to bt_get_unaligned macro (PATCH 15) to avoid offending
> pointer cast, this allow to use this macro instead of memcpy (in places
> where it is more clean compared to memcpy e.g. where memcpy requires
> temporary variable) - this is not commonly used since most macro uses
> are now replaced with helper functions.
>
> --
> BR
> Szymon Janc
>
> Szymon Janc (18):
> Add helper functions for putting integers on unaligned memory address
> sdp: Fix compilation errors due to unaligned memory access
> sdp: Use bt_get_be* helpers instead of bt_get_unaligned
> l2test: Fix compilation errors due to unaligned memory access
> rctest: Fix compilation errors due to unaligned memory access
> scotest: Fix compilation errors due to unaligned memory access
> sap: Fix compilation errors due to unaligned memory access
> adaptername: Refactor handle_inotify_cb
> sdpd-request: Fix build errors due to unaligned memory access
> sdpd-service: Fix build errors due to unaligned memory access
> hciemu: Fix build errors due to unaligned memory access
> avrcp: Fix compilation errors due to unaligned memory access
> eir: Use bt_get_* helper functions to access unaligned memory
> mgmt: Use bt_get_* helper functions to access unaligned memory
> Refactor bt_get_unaligned macro
> sap-u8500: Fix compile error due to unaligned memory access
> monitor: Fix compilation errors due to unaligned memory access
> sdp: Fix build error due to unaligned memory access
>
> attrib/att.h | 6 +--
> audio/avrcp.c | 10 ++---
> lib/bluetooth.h | 89 +++++++++++++++++++++++++++++++++++++-------
> lib/sdp.c | 92 +++++++++++++++++++++++-----------------------
> monitor/control.c | 7 +++-
> monitor/hcidump.c | 21 +++++++----
> plugins/adaptername.c | 48 ++++++++++++------------
> profiles/sap/sap-u8500.c | 10 +++--
> profiles/sap/server.c | 9 ++---
> src/eir.c | 6 ++-
> src/mgmt.c | 18 ++++-----
> src/sdpd-request.c | 62 ++++++++++++++++---------------
> src/sdpd-service.c | 21 +++++------
> test/hciemu.c | 6 ++-
> test/l2test.c | 9 +++--
> test/rctest.c | 5 ++-
> test/scotest.c | 5 ++-
> 17 files changed, 253 insertions(+), 171 deletions(-)
Patches 1-14 have been applied. Thanks.
Johan
prev parent reply other threads:[~2012-09-05 9:33 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-04 14:41 [RFC v4 00/18] Unaligned memory access fixes Szymon Janc
2012-09-04 14:41 ` [RFC v4 01/18] Add helper functions for putting integers on unaligned memory address Szymon Janc
2012-09-04 14:41 ` [RFC v4 02/18] sdp: Fix compilation errors due to unaligned memory access Szymon Janc
2012-09-04 14:41 ` [RFC v4 03/18] sdp: Use bt_get_be* helpers instead of bt_get_unaligned Szymon Janc
2012-09-04 14:41 ` [RFC v4 04/18] l2test: Fix compilation errors due to unaligned memory access Szymon Janc
2012-09-04 14:41 ` [RFC v4 05/18] rctest: " Szymon Janc
2012-09-04 14:41 ` [RFC v4 06/18] scotest: " Szymon Janc
2012-09-04 14:41 ` [RFC v4 07/18] sap: " Szymon Janc
2012-09-04 14:41 ` [RFC v4 08/18] adaptername: Refactor handle_inotify_cb Szymon Janc
2012-09-04 14:41 ` [RFC v4 09/18] sdpd-request: Fix build errors due to unaligned memory access Szymon Janc
2012-09-04 14:41 ` [RFC v4 10/18] sdpd-service: " Szymon Janc
2012-09-04 14:41 ` [RFC v4 11/18] hciemu: " Szymon Janc
2012-09-04 14:41 ` [RFC v4 12/18] avrcp: Fix compilation " Szymon Janc
2012-09-04 14:41 ` [RFC v4 13/18] eir: Use bt_get_* helper functions to access unaligned memory Szymon Janc
2012-09-04 14:41 ` [RFC v4 14/18] mgmt: " Szymon Janc
2012-09-04 14:41 ` [RFC v4 15/18] Refactor bt_get_unaligned macro Szymon Janc
2012-09-04 15:21 ` Marcel Holtmann
2012-09-05 9:03 ` Szymon Janc
2012-09-04 14:41 ` [RFC v4 16/18] sap-u8500: Fix compile error due to unaligned memory access Szymon Janc
2012-09-04 14:41 ` [RFC v4 17/18] monitor: Fix compilation errors " Szymon Janc
2012-09-04 14:41 ` [RFC v4 18/18] sdp: Fix build error " Szymon Janc
2012-09-05 9: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=20120905093321.GB25573@x220 \
--to=johan.hedberg@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=szymon.janc@tieto.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 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).