copy_to_user_ret in 2.4.0-test8

2 messages, 2 authors, 2000-09-05 · open the first message on its own page

copy_to_user_ret in 2.4.0-test8

From: Kaoru Fukui <hidden>
Date: 2000-09-05 19:41:41

Hi!

I tried to compile today's linux-2.4.0-test8.
rtc.c has copy_to_user_ret untill,
but new uaccess.h hasn't copy_to_user_ret.
So I couldn't compile today's 2.4.0-test8.

Kaoru

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: copy_to_user_ret in 2.4.0-test8

From: Martin Costabel <hidden>
Date: 2000-09-05 20:15:43

Kaoru Fukui wrote:
Hi!

I tried to compile today's linux-2.4.0-test8.
rtc.c has copy_to_user_ret untill,
but new uaccess.h hasn't copy_to_user_ret.
So I couldn't compile today's 2.4.0-test8.
Yes. While this one is easy to fix (see drivers/sbus/char/rtc.c), you
should probably be grateful that it didn't work :-) I got it to compile
and boot, and it destroyed 3MB worth of personal mail. There are reports
by others on the linux kernel list about similar experiences. It is
possible that the fix is a simple swap of "1" and "0" in
fs/ext2/inode.c:all_zeroes(), but until this is confirmed, I for my part
will stay at a safe distance from this version.

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help