commit | d2c184fb10656f2a6d59fef76efb3a8b12fb6ed4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Oct 18 09:09:19 2011 +0300 |
committer | Dave Airlie <airlied@redhat.com> | Tue Oct 18 10:41:11 2011 +0100 |
tree | ec6b13518ca0bc7ef4b460d01671ff3c4c3294ac | |
parent | bd8315c4a8ade3c0cd6c1933ae6e453958397d22 [diff] |
vmwgfx: return -EFAULT instead of number of bytes remaining The intent here was to return an error code, but instead the code returns the number of bytes remaining (that weren't copied). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>