From mboxrd@z Thu Jan 1 00:00:00 1970 From: 'Joerg Roedel' Subject: Re: [PATCH] iommu: Initialize domain->handler in iommu_domain_alloc() Date: Fri, 16 Dec 2011 15:15:07 +0100 Message-ID: <20111216141507.GB28302@8bytes.org> References: <1323760466-30333-1-git-send-email-pullip.cho@samsung.com> <20111215081056.GC4475@8bytes.org> <000401ccbbef$9b0389e0$d10a9da0$%cho@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from 8bytes.org ([88.198.83.132]:36868 "EHLO 8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759509Ab1LPOPK (ORCPT ); Fri, 16 Dec 2011 09:15:10 -0500 Content-Disposition: inline In-Reply-To: <000401ccbbef$9b0389e0$d10a9da0$%cho@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: KyongHo Cho Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, 'Sanghyun Lee' , 'Kukjin Kim' , 'Younglak Kim' On Fri, Dec 16, 2011 at 09:38:25PM +0900, KyongHo Cho wrote: > Subject: [PATCH] iommu: Initialize domain->handler in iommu_domain_alloc() > > Since it is not guaranteed that an iommu driver initializes in its > domain_init() function, it must be initialized with NULL to prevent > calling a function in an arbitrary location when iommu fault occurred. > > Signed-off-by: KyongHo Cho Applied to iommu/fixes, thanks a lot. From mboxrd@z Thu Jan 1 00:00:00 1970 From: joro@8bytes.org ('Joerg Roedel') Date: Fri, 16 Dec 2011 15:15:07 +0100 Subject: [PATCH] iommu: Initialize domain->handler in iommu_domain_alloc() In-Reply-To: <000401ccbbef$9b0389e0$d10a9da0$%cho@samsung.com> References: <1323760466-30333-1-git-send-email-pullip.cho@samsung.com> <20111215081056.GC4475@8bytes.org> <000401ccbbef$9b0389e0$d10a9da0$%cho@samsung.com> Message-ID: <20111216141507.GB28302@8bytes.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Dec 16, 2011 at 09:38:25PM +0900, KyongHo Cho wrote: > Subject: [PATCH] iommu: Initialize domain->handler in iommu_domain_alloc() > > Since it is not guaranteed that an iommu driver initializes in its > domain_init() function, it must be initialized with NULL to prevent > calling a function in an arbitrary location when iommu fault occurred. > > Signed-off-by: KyongHo Cho Applied to iommu/fixes, thanks a lot.