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 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html