public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC v4 00/18] Unaligned memory access fixes
@ 2012-09-04 14:41 Szymon Janc
  2012-09-04 14:41 ` [RFC v4 01/18] Add helper functions for putting integers on unaligned memory address Szymon Janc
                   ` (18 more replies)
  0 siblings, 19 replies; 22+ messages in thread
From: Szymon Janc @ 2012-09-04 14:41 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Szymon Janc

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(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2012-09-05  9:33 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [RFC v4 00/18] Unaligned memory access fixes Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox