From: Heiner Kallweit Subject: Re: [PATCH] iommu: simplify and fix ida handling Date: Mon, 4 Jul 2016 21:01:18 +0200 Message-ID: <7c77402b-cbcb-1ac0-d81a-0e7c92201ee8@gmail.com> References: <20160704114648.GE11467@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20160704114648.GE11467-l3A5Bk7waGM@public.gmane.org> 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: Joerg Roedel Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: iommu@lists.linux-foundation.org Am 04.07.2016 um 13:46 schrieb Joerg Roedel: > On Wed, Jun 29, 2016 at 09:13:59PM +0200, Heiner Kallweit wrote: >> Ida handling can be much simplified by using the ida_simple_.. functions. >> >> This change also fixes the bug that previously checking for errors >> returned by ida_get_new() was incomplete. >> ida_get_new() can return errors other than EAGAIN, e.g. ENOSPC. >> This case wasn't handled. >> >> Signed-off-by: Heiner Kallweit >> --- >> drivers/iommu/iommu.c | 24 ++++++------------------ >> 1 file changed, 6 insertions(+), 18 deletions(-) > > The patch does not apply. Please rebase it against the latest upstream > kernel and resend. > This patch applies on top of patch "[PATCH 1/3] iommu: simplify init function" I submitted on June 28th. Do you have an opinion on that patch? Regards, Heiner