From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754507AbYKSSPy (ORCPT ); Wed, 19 Nov 2008 13:15:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753939AbYKSSPg (ORCPT ); Wed, 19 Nov 2008 13:15:36 -0500 Received: from rv-out-0506.google.com ([209.85.198.229]:25251 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753863AbYKSSPf (ORCPT ); Wed, 19 Nov 2008 13:15:35 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:cc:x-mailer; b=Xu7WF5vjI3uEqPg6xVoZrMT4gMFT1cp1g6QJqeLjddjGpuDeYaU0QvUL7GqWwmjmHC /EY1bUXTeIC4O7hlnH7mHbeXc54Mn2JQ8zIcq8Pi0Ex64Gv/63PzCq2Irl4J+ubyQ5uf AI6DgVQtWgwlsNvE5D1V/N6LSDsTIdIFOvasw= Message-Id: From: Richard Holden To: linux-next@vger.kernel.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: pci_read_config_* functions and uninitialized warnings? Date: Wed, 19 Nov 2008 11:15:32 -0700 Cc: linux-kernel@vger.kernel.org X-Mailer: Apple Mail (2.929.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I'm building linux-next and seeing a lot of uninitialized warnings that go back to values being set using pci_read_config_* functions. Does anyone more familiar than I am with that code have any ideas on how to get GCC to realize that the pci_read_config_* initialize the vars. I don't want to end up submitting a lot of patches with uninitialized_var to fix the problems. gcc --version: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.1) -Richard Holden