Message ID | 8b67d60901300155n66f86d4ch875d01cd1620409e@mail.gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
diff --git a/drivers/sh/maple/maple.c b/drivers/sh/maple/maple.c index 4d9b8b3..5dca308 100644 --- a/drivers/sh/maple/maple.c +++ b/drivers/sh/maple/maple.c @@ -186,7 +186,7 @@ static struct mapleq *maple_allocq(struct maple_device *mdev) mq->recvbuf = kmem_cache_zalloc(maple_queue_cache, GFP_KERNEL); if (!mq->recvbuf) goto failed_p2; - mq->recvbuf->buf = (void *)P2SEGADDR(&((mq->recvbuf->bufx)[0])); + mq->recvbuf->buf = &((mq->recvbuf->bufx)[0]); return mq;