Message ID | 20170608132609.32662-15-hch@lst.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xen.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 18F45603F5 for <patchwork-xen-devel@patchwork.kernel.org>; Thu, 8 Jun 2017 13:29:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B02B28451 for <patchwork-xen-devel@patchwork.kernel.org>; Thu, 8 Jun 2017 13:29:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F3D3A28534; Thu, 8 Jun 2017 13:29:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 613B028520 for <patchwork-xen-devel@patchwork.kernel.org>; Thu, 8 Jun 2017 13:29:10 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1dIxT3-0003dF-Nu; Thu, 08 Jun 2017 13:27:17 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <BATV+eb06f239ea6f59aeb59b+5037+infradead.org+hch@bombadil.srs.infradead.org>) id 1dIxT2-0003bV-Ic for xen-devel@lists.xenproject.org; Thu, 08 Jun 2017 13:27:16 +0000 Received: from [193.109.254.147] by server-11.bemta-6.messagelabs.com id F4/CE-03587-3B059395; Thu, 08 Jun 2017 13:27:15 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrALMWRWlGSWpSXmKPExsXiaHS5VXdzgGW kwZNn4hbft0xmcmD0OPzhCksAYxRrZl5SfkUCa8aLr5tYCv6yVCx4uJOpgXEFSxcjFweLwAk2 iVdzl7GBOEICJxgltu05xNrFyMnBJqAi8eZ5DztIQkTgEIvEyTdHmUASzAIKEr/ubQIq4uAQF jCQmPosCSTMIqAq0TDvOjOIzQsUbvlwnx3ElhCQl9jVdhFsJidI/PQusDFCAvoShxZMYwaZLy HQwijRdnEFywRGngWMDKsYNYpTi8pSi3SNzPWSijLTM0pyEzNzdA0NzPRyU4uLE9NTcxKTivW S83M3MQJ9zwAEOxgXrw08xCjJwaQkyqsoYBkpxJeUn1KZkVicEV9UmpNafIhRhoNDSYL3hj9Q TrAoNT21Ii0zBxiEMGkJDh4lEd7/PkBp3uKCxNzizHSI1ClGXY6mD1u+MAmx5OXnpUqJ894Fm SEAUpRRmgc3AhYRlxhlpYR5GYGOEuIpSC3KzSxBlX/FKM7BqCTM6+YLNIUnM68EbtMroCOYgI 5Y8s4C5IiSRISUVANj28Wg1H+SuZJcl58sL/rEd2aX7cqpx6uvLl+84PiEo9FX32quN19ZJnd hn8rjoy+r1Z7/WVUYnR3c+5X7eN1NTZfI+KxVTEEcnxfyqEx8+Pv+nBat0wJLo363S2/pmbvL 7+zkw/0J5UG/t/9W0FDIs0wyv1/A+Um46Vvq7qkVxl/PFxUJfv1aqsRSnJFoqMVcVJwIAKQfP 6ODAgAA X-Env-Sender: BATV+eb06f239ea6f59aeb59b+5037+infradead.org+hch@bombadil.s rs.infradead.org X-Msg-Ref: server-2.tower-27.messagelabs.com!1496928433!47163063!1 X-Originating-IP: [65.50.211.133] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG X-StarScan-Received: X-StarScan-Version: 9.4.19; banners=-,-,- X-VirusChecked: Checked Received: (qmail 63648 invoked from network); 8 Jun 2017 13:27:15 -0000 Received: from bombadil.infradead.org (HELO bombadil.infradead.org) (65.50.211.133) by server-2.tower-27.messagelabs.com with AES256-GCM-SHA384 encrypted SMTP; 8 Jun 2017 13:27:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1h0ibcoYqzLmPVN9+BcTJWhCNyzc4rK0h4UoGsJb4S8=; b=WszcsESz8tVXdwlMFuWVYDLuO pheQDmpNnflarqIbfNAPfhcbV2+Xm0XEz/PfNF0pUmmqoXyWmLhFy0ewLkaGZxk30pKWboH6hhSu9 c9WFwUXponWMnffOcz0U7RtS9vWYwL8lGyKoyyClwbHyBVbbAPA+qk+RNzEt2UWZhf8yw47X95i1L fpW17EPrLnOGLT0MhbRBV0mu7mwTjGLNlD/cO8E08WvfRSR8T1dZHCMC44LDAKwJqPBsgaqZQgbfO UoC0Y86B8gk/HOBpo0MK6eF5Fl2U/fd1dp2Qm9uaVCIUTWgZPs2tyGjXX2ABFNygrQIgR/yOwri87 BvC7viRbg==; Received: from clnet-p099-196.ikbnet.co.at ([83.175.99.196] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.87 #1 (Red Hat Linux)) id 1dIxSy-00060Y-B4; Thu, 08 Jun 2017 13:27:13 +0000 From: Christoph Hellwig <hch@lst.de> To: x86@kernel.org, linux-arm-kernel@lists.infradead.org, xen-devel@lists.xenproject.org, linux-c6x-dev@linux-c6x.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, linux-mips@linux-mips.org, openrisc@lists.librecores.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-xtensa@linux-xtensa.org, dmaengine@vger.kernel.org, linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, iommu@lists.linux-foundation.org, netdev@vger.kernel.org Date: Thu, 8 Jun 2017 15:25:39 +0200 Message-Id: <20170608132609.32662-15-hch@lst.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170608132609.32662-1-hch@lst.de> References: <20170608132609.32662-1-hch@lst.de> X-SRS-Rewrite: SMTP reverse-path rewritten from <hch@infradead.org> by bombadil.infradead.org. See http://www.infradead.org/rpr.html Cc: linux-kernel@vger.kernel.org Subject: [Xen-devel] [PATCH 14/44] sh: remove DMA_ERROR_CODE X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/sh/include/asm/dma-mapping.h b/arch/sh/include/asm/dma-mapping.h index d99008af5f73..9b06be07db4d 100644 --- a/arch/sh/include/asm/dma-mapping.h +++ b/arch/sh/include/asm/dma-mapping.h @@ -9,8 +9,6 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) return dma_ops; } -#define DMA_ERROR_CODE 0 - void dma_cache_sync(struct device *dev, void *vaddr, size_t size, enum dma_data_direction dir);
sh does not return errors for dma_map_page. Signed-off-by: Christoph Hellwig <hch@lst.de> --- arch/sh/include/asm/dma-mapping.h | 2 -- 1 file changed, 2 deletions(-)