From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: iommu: Introduce iommu_request_dm_for_dev() Date: Thu, 11 Jun 2015 09:33:18 +0200 Message-ID: <20150611073318.GB16345@suse.de> References: <20150610110244.GA21994@mwanda> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150610110244.GA21994@mwanda> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Dan Carpenter Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: iommu@lists.linux-foundation.org Hi Dan, On Wed, Jun 10, 2015 at 02:02:44PM +0300, Dan Carpenter wrote: > This is a semi-automatic email about new static checker warnings. > > The patch eeae3fba3afe: "iommu: Introduce iommu_request_dm_for_dev()" > from May 28, 2015, leads to the following Smatch complaint: > > drivers/iommu/iommu.c:1581 iommu_request_dm_for_dev() > error: we previously assumed 'group->default_domain' could be null (see line 1558) Thanks for the report, I folded a fix back into the patch introducing this function. Joerg