From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96644C43334 for ; Tue, 5 Jul 2022 13:27:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232069AbiGEN1Y (ORCPT ); Tue, 5 Jul 2022 09:27:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232145AbiGEN1N (ORCPT ); Tue, 5 Jul 2022 09:27:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE1A941601; Tue, 5 Jul 2022 05:49:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DBB2AB817C7; Tue, 5 Jul 2022 12:48:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC97EC341C7; Tue, 5 Jul 2022 12:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657025329; bh=unpkgiZ7iLWfroJs+BqlFoxz6dG1xKaDeB3iWMuXpvw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cE+V+ETn3k/uhUlZHHvZKPVZXjS26zd3XCGdIJIMbnK2tKlJSZVgJ1TS0+xy1Nh97 u2qRTP0ZQ02/lo01pLPPakaEHxGyg0k7zVjA1Kdy1Ddw1RP4gH8JJvdlYEKkvPupMX oJ5oTt5xxx0ysGOAO5pbpbGL3wWIX0kGISw8PiaP6DQkYn1/NaKEsYwUNO1QI42MIM LShXlq6Upbzlu3Hj6nWfigDoJCn7+Sq4PCqfF8u96oMTDS4zpgOps+uPLyPFJxHuKv WS9gCJkFoRnygUkDIfFfif4qCzJDs2S/NRhqqaRZUMoKqLJaG9xtkRjvW2wAShmbGF R4w52whxpbi1Q== Date: Tue, 5 Jul 2022 18:18:45 +0530 From: Vinod Koul To: Michael Walle Cc: Ludovic Desroches , Tudor Ambarus , Nicolas Ferre , linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly Message-ID: References: <20220526135111.1470926-1-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220526135111.1470926-1-michael@walle.cc> Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org On 26-05-22, 15:51, Michael Walle wrote: > It seems that it is valid to have less than the requested number of > descriptors. But what is not valid and leads to subsequent errors is to > have zero descriptors. In that case, abort the probing. Applied, thanks -- ~Vinod