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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9D380C433EF for ; Tue, 5 Jul 2022 12:49:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=22DTDVKWEMGBUew2Ln3WOM+waO+lJADKOvxKdCRwk2I=; b=UMLyuho/Ss8dnG xR0xk6dfzFcXWdfjyDp4N+nhmNTsjXN2a5AlIM7kPnPEFFX5XavekCyiIHLDeBUC2PUD3RqOMCqfV q1OVc5pJg5fOEoakepNBIeV2TCCSxeDx8TZnmecd1kIQ/ITxqvQsQe6ryzmazYL5ZhEAiPCo5TrIx WMRKuI1nEZqljWIsqsex+Q3dl04w5zFvm0nw9PtVHJM5OekNdp3sb5C1+TZFnd0r02efbRxAb/4Cx 7ivUsX8hDP/SH+jUzN1+IXFxlG1fVyZdyxngyCx6L8Gyl1GLOuQrDsI0qK9TCq336FLP9tyRUXTos wg2Nn5dc50ekHCqqDs1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8hz3-000H9N-6O; Tue, 05 Jul 2022 12:48:53 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8hz0-000H80-PM for linux-arm-kernel@lists.infradead.org; Tue, 05 Jul 2022 12:48:51 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id 2392960BAD; 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 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-Disposition: inline In-Reply-To: <20220526135111.1470926-1-michael@walle.cc> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220705_054850_899443_B40AC304 X-CRM114-Status: UNSURE ( 8.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tudor Ambarus , linux-kernel@vger.kernel.org, Ludovic Desroches , dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel