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 CA255C433EF for ; Fri, 8 Apr 2022 14:44:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237053AbiDHOqN (ORCPT ); Fri, 8 Apr 2022 10:46:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234739AbiDHOqK (ORCPT ); Fri, 8 Apr 2022 10:46:10 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E3F0AFABCF; Fri, 8 Apr 2022 07:44:06 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A4C17113E; Fri, 8 Apr 2022 07:44:06 -0700 (PDT) Received: from e123427-lin.arm.com (unknown [10.57.11.200]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 541863F73B; Fri, 8 Apr 2022 07:44:02 -0700 (PDT) From: Lorenzo Pieralisi To: gustavo.pimentel@synopsys.com, jingoohan1@gmail.com, robh@kernel.org, Bjorn Helgaas , Jiantao Zhang , "zhangjianrong (E)" , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kw@linux.com Cc: Lorenzo Pieralisi , xuhaiyang , guhengsheng@hisilicon.com, songxiaowei@hisilicon.com, "xuetao (kirin)" , caiyadong Subject: Re: [PATCH v2] PCI: dwc: Fix setting error return on MSI DMA mapping failure Date: Fri, 8 Apr 2022 15:43:57 +0100 Message-Id: <164942900916.30630.9420081652336404803.b4-ty@arm.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <30170911-0e2f-98ce-9266-70465b9073e5@huawei.com> References: <30170911-0e2f-98ce-9266-70465b9073e5@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Mar 2022 20:01:04 +0800, Jiantao Zhang wrote: > When dma_mapping_error() returns error because of no enough memory, > but dw_pcie_host_init() returns success, which will mislead the callers. > > Applied to pci/dwc, thanks! [1/1] PCI: dwc: Fix setting error return on MSI DMA mapping failure https://git.kernel.org/lpieralisi/pci/c/88557685cd Thanks, Lorenzo