CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2014/02/13 05:33:08
Modified files: sys/dev/pci/drm: drm_crtc.c Log message: Make sure we copy out the right amount of data in the various copyout() calls that replace the put_user() calls in the Linux code by using sizeof on the appropriate variables instead of explicit uint32_t/uint64_t types. Fixes a case where we accidentally copied out only 32 bits of a 64-bit value, uncovered by xf86-video-intel 2.99.909. ok jsg@, matthieu@