diff options
author | David S. Miller <davem@davemloft.net> | 2016-08-15 15:08:18 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-24 11:31:58 -0700 |
commit | 0096ac9f47b1a2e851b3165d44065d18e5f13d58 (patch) | |
tree | ac30018b208a8236dac7f0d2b54262767e3cc18e | |
parent | 83a17d2661674d8c198adc0e183418f72aabab79 (diff) |
sparc64: Convert copy_in_user to accurate exception reporting.
Report the exact number of bytes which have not been successfully
copied when an exception occurs, using the running remaining length.
Signed-off-by: David S. Miller <davem@davemloft.net>