RE: kernel2.2.x to kernel2.4.x

Dunlap, Randy (randy.dunlap@intel.com)
Tue, 15 May 2001 21:08:35 -0700


> 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/