Re: drm fixup 1/2 - missing bus_address assignment

From: Dave Airlie
Date: Fri Aug 27 2004 - 18:58:39 EST


> > + buf->bus_address = virt_to_bus(buf->address);
>
> this iw wrong. never use virt_to_bus in new code and whenever you see it
> in old code get rid of it.
>

Is there an alternative or do I just dump it? I think we only use the
bus_address for debugging in /proc and I don't think many people actually
have used it ..

Dave.

--
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/