diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2006-01-02 16:11:44 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-01-02 16:11:44 +1100 |
commit | 3528af1b189d0fbb4c7a3f121f46d9987b9af5b6 (patch) | |
tree | 565940d5d0ac96c063f15cba5a049103e2993466 /drivers/char/sonypi.c | |
parent | 952d751a140e961f7ac67f743cf94d1a37c736e8 (diff) |
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 <anholt@freebsd.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/sonypi.c')
0 files changed, 0 insertions, 0 deletions