From: Daniel Vetter Subject: Re: [PATCH] i915: Remove silly test Date: Thu, 26 Jul 2012 10:20:24 +0200 Message-ID: <20120726082024.GA5326@phenom.ffwll.local> References: <20120725125118.28998.33019.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-bk0-f49.google.com (mail-bk0-f49.google.com [209.85.214.49]) by gabe.freedesktop.org (Postfix) with ESMTP id A18FF9E7B3 for ; Thu, 26 Jul 2012 01:20:20 -0700 (PDT) Received: by bkcji2 with SMTP id ji2so1097419bkc.36 for ; Thu, 26 Jul 2012 01:20:19 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20120725125118.28998.33019.stgit@localhost.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Alan Cox Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Wed, Jul 25, 2012 at 01:51:20PM +0100, Alan Cox wrote: > From: Alan Cox > > drv_priv->gmbus is an array. Comparing it with NULL is somewhat less useful > than a chocolate teapot. > > Possibly we should be testing bus != NULL each iteration of the loop > instead ? > > gcc could help by warning too! > > Signed-off-by: Alan Cox All three patches merged for -fixes, thanks. -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48