diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2010-08-25 12:19:53 -0700 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2010-08-25 12:19:53 -0700 |
commit | fb27cfbcbd2865b0e731c4aae47df71778da805e (patch) | |
tree | bc321b782bb4234a7d6a5cb019c31c3843ab2506 /drivers/dma/iop-adma.c | |
parent | 6280f190da4dd083f14f704be6b3314311a7eacb (diff) | |
download | talos-obmc-linux-fb27cfbcbd2865b0e731c4aae47df71778da805e.tar.gz talos-obmc-linux-fb27cfbcbd2865b0e731c4aae47df71778da805e.zip |
xenfs/xenbus: report partial reads/writes correctly
copy_(to|from)_user return the number of uncopied bytes, so a successful
return is 0, and any non-zero result indicates some degree of failure.
Reported-by: "Jun Zhu (Intern)" <Jun.Zhu@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'drivers/dma/iop-adma.c')
0 files changed, 0 insertions, 0 deletions