From: Dan Carpenter Date: Fri, 15 Oct 2010 19:10:44 +0000 (+0200) Subject: Staging: sst: more copy_to_user() changes X-Git-Tag: v2.6.37-rc1~60^2~3^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=388b2b97ba03242145227821c77791e713d6057b;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed