From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 4 Dec 2007 11:32:38 +0100 From: Ingo Molnar Subject: Re: [build failure] Re: Linux 2.6.24-rc4 on S390x Message-ID: <20071204103237.GA15038@elte.hu> References: <47552A98.9010108@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47552A98.9010108@linux.vnet.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-Archive: List-Post: To: Kamalesh Babulal Cc: Linus Torvalds , Linux Kernel Mailing List , ptiedem@de.ibm.com, braunu@de.ibm.com, jeff@garzik.org, linux-s390@vger.kernel.org, Andy Whitcroft , Balbir Singh , Andrew Morton List-ID: * Kamalesh Babulal wrote: > The patch ctc: make use of alloc_netdev() (commit > 1c1478859017452a1179dbbdf7b9eb5b48438746) introduces the build failure > > CC [M] drivers/s390/net/fsm.o > CC [M] drivers/s390/net/smsgiucv.o > CC [M] drivers/s390/net/ctcmain.o > drivers/s390/net/ctcmain.c: In function `ctc_init_netdevice': > drivers/s390/net/ctcmain.c:2805: error: implicit declaration of function `SET_MODULE_OWNER' > make[2]: *** [drivers/s390/net/ctcmain.o] Error 1 > make[1]: *** [drivers/s390/net] Error 2 > make: *** [drivers/s390] Error 2 the patch below should fix this. Ingo ------------> Subject: drivers/s390/net/ctcmain.c: fix build bug From: Ingo Molnar SET_MODULE_OWNER() is obsolete. Signed-off-by: Ingo Molnar --- drivers/s390/net/ctcmain.c | 1 - 1 file changed, 1 deletion(-) Index: linux/drivers/s390/net/ctcmain.c =================================================================== --- linux.orig/drivers/s390/net/ctcmain.c +++ linux/drivers/s390/net/ctcmain.c @@ -2802,7 +2802,6 @@ void ctc_init_netdevice(struct net_devic dev->type = ARPHRD_SLIP; dev->tx_queue_len = 100; dev->flags = IFF_POINTOPOINT | IFF_NOARP; - SET_MODULE_OWNER(dev); }