git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
net
/
irda
/
donauboe.c
diff --git
a/drivers/net/irda/donauboe.c
b/drivers/net/irda/donauboe.c
index
49f6d53
..
4cc3f5c
100644
(file)
--- a/
drivers/net/irda/donauboe.c
+++ b/
drivers/net/irda/donauboe.c
@@
-1622,6
+1622,10
@@
toshoboe_open (struct pci_dev *pci_dev, const struct pci_device_id *pdid)
goto freeregion;
}
goto freeregion;
}
+#if (BITS_PER_LONG == 64)
+#error broken on 64-bit: casts pointer to 32-bit, and then back to pointer.
+#endif
+
/*We need to align the taskfile on a taskfile size boundary */
{
unsigned long addr;
/*We need to align the taskfile on a taskfile size boundary */
{
unsigned long addr;