From: Dave Airlie Date: Mon, 2 Jan 2006 05:11:44 +0000 (+1100) Subject: drm: fix a LOR issue on FreeBSD for savage driver X-Git-Tag: v2.6.16-rc1~178^2~18 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3528af1b189d0fbb4c7a3f121f46d9987b9af5b6;p=pandora-kernel.git drm: fix a LOR issue on FreeBSD for savage driver Correct a LOR issue on FreeBSD by allocating temporary space and doing a single DRM_COPY_FROM_USER rather than DRM_VERIFYAREA_READ followed by tons of DRM_COPY_FROM_USER_UNCHECKED. I don't like the look of the temporary space allocation, but I like the simplification in the rest of the file. Tested with glxgears, tuxracer, and q3 on a savage4. From: Eric Anholt Signed-off-by: Dave Airlie --- Reading git-diff-tree failed