Re: get_user_ret

From: Mohammad A. Haque (mhaque@haque.net)
Date: Fri Sep 15 2000 - 07:41:53 EST


There's several of similar ones that have been renamed...

copy_to_user_ret
put_user_ret
get_user_ret
....

replace with

if(get_user(..))
        return -EFAULT;

Along these lines, I've made a patch to lm_sensors so that they work
under test8. Patch is available at
http://www.haque.net/software/patches/lm_sensors-2.5.2+2.4.0-test8-pre2.diff.gz

Øyvind Jægtnes wrote:
>
> I have a couple of sound modules which fails under 2.4.0-test8 because
> they can't resolve get_user_ret().
>
> Anyone know what to use instead?
>
> Øyvind Jægtnes
>

-- 

===================================================================== Mohammad A. Haque http://www.haque.net/ mhaque@haque.net

"Alcohol and calculus don't mix. Project Lead Don't drink and derive." --Unknown http://wm.themes.org/ batmanppc@themes.org ===================================================================== - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:25 EST