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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 176ACC5DF61 for ; Thu, 7 Nov 2019 05:24:46 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DF8702178F for ; Thu, 7 Nov 2019 05:24:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uKakCt1X" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF8702178F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=davemloft.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Mime-Version:References:In-Reply-To: From:Subject:To:Message-Id:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2JvYlPN0FziqMJi/8hWxAOXZ7JiBkV6LLAZSL8kttC0=; b=uKakCt1XBdA7zz MP2KMwKCgF14MkHWMASMtfKrdUXfH0oE8MryUgnNflBvF14jBi/P4m1EAhQLEX3AMyhYSJwAaEFaa 9RBpDKC23+uZStzWAdohXk8+3vbLfp/gOdMHEJaTR/e9z7pL5VhX6ZyD68tb++1Y7WUMra34j80wd SpocwLjr1zYN5V0vkMG0OCFcXdPHJkMb+zE/xrVcDweDuFlblRKm8y4n69MYOPrUzmxra4wNxlT3Q qDb9r/uaz5axnqZ2LH2lg5a4s0VMEIvax4/qGStvhvsWoh/2xzNo41v2OjkRWwbtY0A22dorWC13i VGO3DKnwqfkRwDg2yY+Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iSaHk-0001uD-Oi; Thu, 07 Nov 2019 05:24:44 +0000 Received: from shards.monkeyblade.net ([2620:137:e000::1:9]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iSaHh-0001tm-Rr for linux-arm-kernel@lists.infradead.org; Thu, 07 Nov 2019 05:24:43 +0000 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 69FE215110077; Wed, 6 Nov 2019 21:24:41 -0800 (PST) Date: Wed, 06 Nov 2019 21:24:41 -0800 (PST) Message-Id: <20191106.212441.931590542340055489.davem@davemloft.net> To: weiyongjun1@huawei.com Subject: Re: [PATCH net-next] net: axienet: Fix error return code in axienet_probe() From: David Miller In-Reply-To: <20191106155449.107672-1-weiyongjun1@huawei.com> References: <20191106155449.107672-1-weiyongjun1@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 06 Nov 2019 21:24:41 -0800 (PST) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191106_212441_901091_70FDCB8B X-CRM114-Status: UNSURE ( 5.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, radhey.shyam.pandey@xilinx.com, kernel-janitors@vger.kernel.org, michal.simek@xilinx.com, linux@armlinux.org.uk, hancock@sedsystems.ca, 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+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Wei Yongjun Date: Wed, 6 Nov 2019 15:54:49 +0000 > In the DMA memory resource get failed case, the error is not > set and 0 will be returned. Fix it by reove redundant check > since devm_ioremap_resource() will handle it. > > Fixes: 28ef9ebdb64c ("net: axienet: make use of axistream-connected attribute optional") > Signed-off-by: Wei Yongjun Fixed with the commit message typo fixed. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel