Commit a7b97e42 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[IRDA]: Fix 32-bit pointer bug in donauboe.c

parent 37f13434
......@@ -1669,7 +1669,7 @@ toshoboe_open (struct pci_dev *pci_dev, const struct pci_device_id *pdid)
/*We need to align the taskfile on a taskfile size boundary */
{
__u32 addr;
unsigned long addr;
addr = (__u32) self->ringbuf;
addr &= ~(OBOE_RING_LEN - 1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment