This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Sat Jun 15 20:36:53 2024 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261825AbTJWWFV (ORCPT ); Thu, 23 Oct 2003 18:05:21 -0400 Received: from mail.kroah.org ([65.200.24.183]:52106 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S261823AbTJWWFQ (ORCPT ); Thu, 23 Oct 2003 18:05:16 -0400 Received: from DYN318931BLD.beaverton.ibm.com (bi01p1.co.us.ibm.com [32.97.110.142]) (authenticated) by perch.kroah.org (8.11.6/8.11.6) with ESMTP id h9NM1Rh27768; Thu, 23 Oct 2003 15:01:28 -0700 Received: from greg by echidna.kroah.org with local (masqmail 0.2.19) id 1ACnXr-5XR-00; Thu, 23 Oct 2003 15:03:03 -0700 Date: Thu, 23 Oct 2003 15:03:03 -0700 From: Greg KH To: Adrian Bunk Cc: David Brownell , Dave Hollis , linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net Subject: Re: 2.4.23-pre8: usbnet.c doesn't compile with gcc 2.95 Message-Id: <20031023220303.GA21242@kroah.com> References: <20031023194748.GH11807@fs.tum.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031023194748.GH11807@fs.tum.de> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 23, 2003 at 09:47:49PM +0200, Adrian Bunk wrote: > I'm getting the following compile error in 2.4.23-pre8 with gcc 2.95: This can be fixed with this patch. I'll send it to Marcelo in the next batch of USB fixes. thanks, greg k-h # USB: fix build bug with usbnet and older versions of gcc. diff -Nru a/drivers/usb/usbnet.c b/drivers/usb/usbnet.c --- a/drivers/usb/usbnet.c Thu Oct 23 15:02:44 2003 +++ b/drivers/usb/usbnet.c Thu Oct 23 15:02:44 2003 @@ -381,14 +381,14 @@ #ifdef DEBUG #define devdbg(usbnet, fmt, arg...) \ - printk(KERN_DEBUG "%s: " fmt "\n" , (usbnet)->net.name, ## arg) + printk(KERN_DEBUG "%s: " fmt "\n" , (usbnet)->net.name , ## arg) #else #define devdbg(usbnet, fmt, arg...) do {} while(0) #endif #define devinfo(usbnet, fmt, arg...) \ do { if ((usbnet)->msg_level >= 1) \ - printk(KERN_INFO "%s: " fmt "\n" , (usbnet)->net.name, ## arg); \ + printk(KERN_INFO "%s: " fmt "\n" , (usbnet)->net.name , ## arg); \ } while (0) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/