From: Gustavo Zacarias <gustavoz@gentoo.org>
To: sparclinux@vger.kernel.org
Subject: Unaligned accesses in hci_send_to_sock
Date: Fri, 17 Nov 2006 15:47:26 +0000 [thread overview]
Message-ID: <455DD98E.60102@gentoo.org> (raw)
I'm getting multiple unaligned accesses when using the bluetooth subsystem.
Kernel unaligned access at TPC[10247dc4] hci_send_to_sock+0xb4/0x174
[bluetooth]
With my limited kernel module debugging skills i think the culprit is at
net/bluetooth/hci_sock.c lines 123-126:
if (flt->opcode && ((evt = HCI_EV_CMD_COMPLETE &&
flt->opcode != *(__u16 *)(skb->data + 3)) ||
(evt = HCI_EV_CMD_STATUS &&
flt->opcode != *(__u16 *)(skb->data + 4))))
That looks terrible or am i wrong?
Best regards.
--
Gustavo Zacarias
Gentoo/SPARC monkey
next reply other threads:[~2006-11-17 15:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-17 15:47 Gustavo Zacarias [this message]
2006-11-21 0:33 ` Unaligned accesses in hci_send_to_sock David Miller
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=455DD98E.60102@gentoo.org \
--to=gustavoz@gentoo.org \
--cc=sparclinux@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.