From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Hopf Subject: Re: [PATCH] Fix array size calculation for intel_pci_probe(). Date: Fri, 22 Jul 2011 12:25:22 +0200 Message-ID: <20110722102522.GA26158@suse.de> References: <1311330061-10084-1-git-send-email-mhopf@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by gabe.freedesktop.org (Postfix) with ESMTP id 1FD449E793 for ; Fri, 22 Jul 2011 03:25:24 -0700 (PDT) Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 2B58B86EE4 for ; Fri, 22 Jul 2011 12:25:23 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1311330061-10084-1-git-send-email-mhopf@suse.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Intel GFX List-Id: intel-gfx@lists.freedesktop.org Frankly said, I do not understand why the driver works for others at all. Array size calculation resulted in 0 due to the sizeof(pointer). Is xf86ConfigPciEntity a NOP in newer Xservers? That would explain it, as we're testing the driver with the Xserver on SLE11 (which is pretty old). Matthias -- Matthias Hopf __ __ __ Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat@mshopf.de Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de