lkml.org 
[lkml]   [2001]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: kernel2.2.x to kernel2.4.x
Date
> From: jalaja devi [mailto:jala_74@yahoo.com]
>
> I tried porting a network driver from kernel2.2.x to
> 2.4. When i tried loading the driver, it shows the
> unresolved symbols for
> copy_to_user_ret
> outs
> __bad_udelay
>
> Could anyone please tell me the corresponding fxns in 2.4.

You need to "unroll" copy_to_user_ret(). There is no
corresponding macro. Just test the condition and return
-EFAULT (?; not looking at the source code) if it's invalid.

Don't know about "outs".

__bad_udelay means that some module used a too-large-parameter-value
to udelay(). Linker should be telling you which module.

~Randy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.148 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site