1
0
Files
linux/drivers
Rodrigo Vivi 4e9121e6b4 drm/i915: Fix copy_to_user usage for pipe_crc
Copy to user return the number of bytes it couldn't write
and zero on success. So any number different than 0 should
be considered a fault, not only when it doesn't write
the full size.

v2: fixed the inverted logic. (Ville)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2016-08-05 09:39:47 -07:00
..
2016-05-31 11:52:59 -07:00
2016-07-16 06:11:59 +09:00
2016-07-26 17:26:29 +10:00
2016-07-18 11:50:40 +02:00
2016-07-26 17:26:29 +10:00
2016-05-27 15:26:11 -07:00
2016-06-15 09:51:35 +01:00
2016-05-29 22:32:27 -07:00
2016-05-20 18:33:37 -07:00
2016-07-06 07:25:55 -07:00
2016-05-31 21:25:52 -06:00
2016-06-07 12:42:58 +03:00