git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Fix incorrect alignment in Marvell BT-over-SDIO driver
[pandora-kernel.git]
/
drivers
/
bluetooth
/
btmrvl_sdio.h
diff --git
a/drivers/bluetooth/btmrvl_sdio.h
b/drivers/bluetooth/btmrvl_sdio.h
index
2dd284e
..
27329f1
100644
(file)
--- a/
drivers/bluetooth/btmrvl_sdio.h
+++ b/
drivers/bluetooth/btmrvl_sdio.h
@@
-104,4
+104,5
@@
struct btmrvl_sdio_device {
/* Macros for Data Alignment : address */
#define ALIGN_ADDR(p, a) \
- ((((u32)(p)) + (((u32)(a)) - 1)) & ~(((u32)(a)) - 1))
+ ((((unsigned long)(p)) + (((unsigned long)(a)) - 1)) & \
+ ~(((unsigned long)(a)) - 1))