commit | 388b2b97ba03242145227821c77791e713d6057b | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Fri Oct 15 21:10:44 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 15 15:42:26 2010 -0700 |
tree | fc6f8ebfee86ea3e01316ed2e3eb77b143b14e3e | |
parent | 9f407840bb888e683fa844b1b80eec54ced84653 [diff] |
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>