From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756245AbcDGMw3 (ORCPT ); Thu, 7 Apr 2016 08:52:29 -0400 Received: from 8bytes.org ([81.169.241.247]:38258 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753515AbcDGMw1 (ORCPT ); Thu, 7 Apr 2016 08:52:27 -0400 Date: Thu, 7 Apr 2016 14:52:24 +0200 From: Joerg Roedel To: Dan Carpenter Cc: David Woodhouse , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [patch] iommu/vt-d: silence an uninitialized variable warning Message-ID: <20160407125224.GC31146@8bytes.org> References: <20160406183856.GB9593@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160406183856.GB9593@mwanda> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 06, 2016 at 09:38:56PM +0300, Dan Carpenter wrote: > My static checker complains that "dma_alias" is uninitialized unless we > are dealing with a pci device. This is true but harmless. Anyway, we > can flip the condition around to silence the warning. > > Signed-off-by: Dan Carpenter Applied, thanks.