On Sunday 01 October 2006 23:00, Nikola Ciprich wrote:
> OK, so I've tested 2.6.18-mm2, results are:
> pcap network transport seems to be broken, and doesn't compile, I had to
> disable it
Attached patch should fix it (it's against git head but should be the same
thing).
> apart from that, all of behavior described before remains the same,
> nothing behaves neither better, nor worse...
> n.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
uml: make pcap driver compile again
From: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]>
Fix this error:
arch/um/drivers/pcap_user.c:124: error: conflicting type qualifiers for âpcap_user_infoâ
arch/um/drivers/pcap_user.h:18: error: previous declaration of âpcap_user_infoâ was here
the definition recently became const.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]>
Index: linux-2.6.git/arch/um/drivers/pcap_user.h
===================================================================
--- linux-2.6.git.orig/arch/um/drivers/pcap_user.h
+++ linux-2.6.git/arch/um/drivers/pcap_user.h
@@ -15,7 +15,7 @@ struct pcap_data {
void *dev;
};
-extern struct net_user_info pcap_user_info;
+extern const struct net_user_info pcap_user_info;
extern int pcap_user_read(int fd, void *buf, int len, struct pcap_data *pri);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel