public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Louis JANG <louis@mizi.com>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] [PATCH] align issue of sdpd
Date: Wed, 26 Dec 2007 22:58:07 +0900	[thread overview]
Message-ID: <47725DEF.7070302@mizi.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

Hi,

Because of alignment issue, sdpd couldn't handle continuation
information correctly in arm architecture. the following is patch for
this issue.

Regards,
Louis JANG


[-- Attachment #2: sdpd.h.patch --]
[-- Type: text/x-patch, Size: 370 bytes --]

--- bluez-utils-3.9/sdpd/sdpd.h.orig	2007-12-26 22:46:40.000000000 +0900
+++ bluez-utils-3.9/sdpd/sdpd.h	2007-12-26 22:47:08.000000000 +0900
@@ -47,7 +47,7 @@
 void register_public_browse_group(int public);
 void register_server_service(int public);
 
-typedef struct {
+typedef struct __attribute__((packed)) {
 	uint32_t timestamp;
 	union {
 		uint16_t maxBytesSent;

[-- Attachment #3: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #4: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

                 reply	other threads:[~2007-12-26 13:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=47725DEF.7070302@mizi.com \
    --to=louis@mizi.com \
    --cc=bluez-devel@lists.sourceforge.net \
    /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