Skip to contentSkip to conversation

uml-patch-2.4.22-4]

Fwd: Re: David Coulson 1 participant 1 message Sep 14, 2003 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw
+       {9, "urandom", S_IRUGO | S_IWUSR,           &urandom_fops},
+       {10, "anon", S_IRUGO | S_IWUSR,             &anon_fops},

That patch to mem.c is borked.

-------- Original Message --------
Subject: Re: [uml-devel] uml-patch-2.4.22-4
Date: Sat, 13 Sep 2003 23:32:38 -0400
From: David Coulson <[email protected]>
To: Jeff Dike <[email protected]>
References: <[email protected]>

Quoted 2 lines · Jeff Dike

There are also a couple of cleanups from Stian, and also from me, since I was feeling left out of all the fun.

If I compile 2.4.22-4um without CONFIG_DEV_ANON, I get this:

mem.c: In function `memory_devfs_register':
mem.c:728: error: `anon_fops' undeclared (first use in this function) mem.c:728: error: (Each undeclared identifier is reported only once mem.c:728: error: for each function it appears in.) mem.c:728: error: initializer element is not constant mem.c:728: error: (near initialization for list[8].fops') mem.c:728: error: initializer element is not constant mem.c:728: error: (near initialization for list[8]')

What is CONFIG_DEV_ANON and why would I want it?

David

Signature · 14 lines
David Coulson                                    email: [email protected]
Linux Developer /                          web: http://davidcoulson.net/
Network Engineer                                   phone: (216) 533-6967



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel