Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S275124AbTHLJCD (ORCPT ); Tue, 12 Aug 2003 05:02:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S275126AbTHLJCD (ORCPT ); Tue, 12 Aug 2003 05:02:03 -0400 Received: from dns.toxicfilms.tv ([150.254.37.24]:37815 "EHLO dns.toxicfilms.tv") by vger.kernel.org with ESMTP id S275124AbTHLJCA (ORCPT ); Tue, 12 Aug 2003 05:02:00 -0400 Date: Tue, 12 Aug 2003 11:01:57 +0200 (CEST) From: Maciej Soltysiak To: Greg KH Cc: Matthew Wilcox , Robert Love , CaT , linux-kernel@vger.kernel.org, kernel-janitor-discuss@lists.sourceforge.net Subject: Re: C99 Initialisers In-Reply-To: <20030812053826.GA1488@kroah.com> Message-ID: References: <20030812020226.GA4688@zip.com.au> <1060654733.684.267.camel@localhost> <20030812023936.GE3169@parcelfarce.linux.theplanet.co.uk> <20030812053826.GA1488@kroah.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 838 Lines: 25 > > static struct pci_device_id tg3_pci_tbl[] __devinitdata = { > > { > > .vendor = PCI_VENDOR_ID_BROADCOM, > > .device = PCI_DEVICE_ID_TIGON3_5700, > > .subvendor = PCI_ANY_ID, > > .subdevice = PCI_ANY_ID, > > .class = 0, > > .class_mask = 0, > > .driver_data = 0, > > }, > > I sure would. Oh, you can drop the .class, .class_mask, and > .driver_data lines, and then it even looks cleaner. Just a quick question. if we drop these, will they _always_ be initialised 0 ? I have made a test to see, and it seemed as though, but I would like to be 100% sure. Regards, Maciej - 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/