Skip to content
Commit 27c72b67 authored by Dave Airlie's avatar Dave Airlie
Browse files

drm: i810_dma.c: fix pointer arithmetic for 64-bit target



First warning result from open-coded PTR_ERR,
the rest is caused by code like this:

*(u32 *) ((u32) buf_priv->kernel_virtual + used)

I've also fixed a missing PTR_ERR in i830_dma.c

From: Denis Vlasenko <vda.linux@googlemail.com>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent b99e3322
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment