public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* UML x86_86 Multicast Patch
@ 2005-09-02 22:52 Alan Menegotto
  2005-09-02 23:38 ` Jeff Dike
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Menegotto @ 2005-09-02 22:52 UTC (permalink / raw)
  To: linux-kernel

Just a silly error. 

In mcast_user.c from /usr/src/linux-2.6.13/arch/um/drivers when
multicast is enabled it cannot pass the "compile kernel" phase. The
following patch should fix the error. Please correct me if I'm wrong.

====================================================


--- /tmp/mcast_user.c   2005-09-03 19:59:15.000000000 -0300
+++ mcast_user.c        2005-09-03 19:59:32.000000000 -0300
@@ -13,7 +13,7 @@

 #include <errno.h>
 #include <unistd.h>
-#include <linux/inet.h>
+//#include <linux/inet.h>
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <sys/time.h>


-- 
Alan Menegotto

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: UML x86_86 Multicast Patch
  2005-09-02 22:52 UML x86_86 Multicast Patch Alan Menegotto
@ 2005-09-02 23:38 ` Jeff Dike
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Dike @ 2005-09-02 23:38 UTC (permalink / raw)
  To: Alan Menegotto; +Cc: linux-kernel

On Fri, Sep 02, 2005 at 07:52:02PM -0300, Alan Menegotto wrote:
> In mcast_user.c from /usr/src/linux-2.6.13/arch/um/drivers when
> multicast is enabled it cannot pass the "compile kernel" phase. The
> following patch should fix the error. Please correct me if I'm wrong.
> 
> ====================================================
> 
> 
> --- /tmp/mcast_user.c   2005-09-03 19:59:15.000000000 -0300
> +++ mcast_user.c        2005-09-03 19:59:32.000000000 -0300
> @@ -13,7 +13,7 @@
> 
>  #include <errno.h>
>  #include <unistd.h>
> -#include <linux/inet.h>
> +//#include <linux/inet.h>
>  #include <sys/socket.h>
>  #include <sys/un.h>
>  #include <sys/time.h>

Well, it passes my compile kernel phase, otherwise it would have been
fixed already.  But eliminating that include doesn't break anything
(as it can't, considering that inet.h is empty), so this is applied,
thanks.

				Jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-03  0:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-02 22:52 UML x86_86 Multicast Patch Alan Menegotto
2005-09-02 23:38 ` Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox