diff options
author | Dan Carpenter <error27@gmail.com> | 2010-10-15 21:10:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-15 15:42:26 -0700 |
commit | 388b2b97ba03242145227821c77791e713d6057b (patch) | |
tree | fc6f8ebfee86ea3e01316ed2e3eb77b143b14e3e /include/xen | |
parent | 9f407840bb888e683fa844b1b80eec54ced84653 (diff) | |
download | op-kernel-dev-388b2b97ba03242145227821c77791e713d6057b.zip op-kernel-dev-388b2b97ba03242145227821c77791e713d6057b.tar.gz |
Staging: sst: more copy_to_user() changes
Vinod wanted the copy_to_user() calls in this format:
if (copy_to_user())
retval = -EFAULT;
instead of this:
retval = copy_to_user();
if (retval)
retval = -EFAULt;
I've done that for the whole intel_sst_app_interface.c file. In the
process I noticed a couple more places that returned -EBUSY or -EAGAIN
instead of -EFAULT.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions