Bluetooth: Fix incorrect alignment in Marvell BT-over-SDIO driver
authorBing Zhao <bzhao@marvell.com>
Wed, 8 Jul 2009 18:44:14 +0000 (11:44 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Aug 2009 21:25:34 +0000 (14:25 -0700)
commit3318b2362bf0528be77123c480249663557dfbfc
treeb0d06465c9663d0f3f958c603feade942dd50e56
parent9374253ffe609f2d70dd5ae280182cb6f08fef08
Bluetooth: Fix incorrect alignment in Marvell BT-over-SDIO driver

The driver uses "u32" for alignment check and calculation which
works only on 32-bit system. It will crash the 64-bit system.
Replace "u32" with "unsigned long" to fix this issue.

Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmrvl_sdio.c
drivers/bluetooth/btmrvl_sdio.h