From 388b2b97ba03242145227821c77791e713d6057b Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Fri, 15 Oct 2010 21:10:44 +0200 Subject: [PATCH] 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-format-patch failed