Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3812804pxv; Mon, 28 Jun 2021 13:34:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVATt07ouihChyEGiQZWF88gZmdpsTe6gFoB7LAqJKQbTB0ROEamRu72RhYAkA+yvQsPRj X-Received: by 2002:a05:6602:1243:: with SMTP id o3mr1032511iou.13.1624912461600; Mon, 28 Jun 2021 13:34:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624912461; cv=none; d=google.com; s=arc-20160816; b=q8bd/3KlWC8xeL6EKBK6GhPkMKcCP8KUZgI3/oqmFsK6r0UNXNfnEJR3wJkFUSVtEu SBYXVrlkNqHkqvCG3s2vfokw/GADVDY5hynKB74MyPP5+1lMU5/m1ke9y5WT3BsnOE0l 1W75mYKkpQXoeVPh7qRI+LAfHVuylBYGzF1p7HgvJIK/CfuyA4od1Lp3GKNcdMqgxf/v QiOpK1Dgt4t7/+eM17wLyjJnHjDtf/fJhG29VsdXDGYvGXOFZRd4bsVzIK8yD7aZV+Jv SP8z7UnAU7Er1SXOGdeLIAQBZDzgw/KRfulg/QyJ6apuowK4Hyd9GskGX3rRYLFk+4de 7ZAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sfurSuAivRqkrCMmvre3RcjOCTvYOCs6dDgGfrbHHK4=; b=oWD6ep0GZEMuuR/0GrswKYDJRKNkfKQPZfVTIg2J9iFPG6y6LtTHtiYJYuXAsmKShW OfsJ4OT6xegBL0AQ/zz6P7U1+M9njtS5j+8QlemWyfEuRkESLIi3VyFJsOktR1KPZDlG SDKfJ5aBonkgfVG3d0ivcL/P1EiQlR+9blrPkL72AJSbJSgNtTH2GuaSNb1fn59hvkw4 lDohF8c5juvHtuE8s1eDnQPpb2CBLUigmv5zljf808AVie2LzjVtMCJAsYGgklvLTjoP SQZUvoOYzZGsE3VA9bKHULZym8SYCHAQtWPrMsyOmM7OkqO8VcXDuZOpTxLl84yy/C3T KvUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fT5mEwcf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w4si22274527jad.121.2021.06.28.13.34.08; Mon, 28 Jun 2021 13:34:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fT5mEwcf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236493AbhF1PJ0 (ORCPT + 99 others); Mon, 28 Jun 2021 11:09:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:54440 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233916AbhF1Osw (ORCPT ); Mon, 28 Jun 2021 10:48:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3A92361CAD; Mon, 28 Jun 2021 14:36:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624891006; bh=0C9rwugtMXMz9cfz8GeJzLwMJzqewPfSETpcxPxQJaA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fT5mEwcfAlzQLHkwyyiMumz+Djy00+YB1JWVlP0Jq9NSbZLzMafW+qoIZy1q8f3mN n+fmxCPtOoeDpk2kBg3qf2Vf+Fd5+6aTlFUguJrpnkNbBu8vQ4fyJRVIySZWE2CA7F cb/u/k1K5X/GBQkTE5zuN2RBGyYuuA8WuQ1YR84nuRTcSyXMi5JhZaBWScxfO1AlB9 5boET00gJqYSYS3Bgo1YrlrQhdvF9XFCt3EzWGMcQTE5ESfbvLpGuKHf2X6nACqI8B la30QL3lbRf3PlqlBEMOwVmfwNeJ4HN7+JniuJmcRcT6vNzSH85c+rPVz/Q4TsQ4+S oAzB8Zupa6nHg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Randy Dunlap , kernel test robot , Stefan Roese , Vinod Koul , dmaengine@vger.kernel.org, Sasha Levin Subject: [PATCH 4.14 18/88] dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM Date: Mon, 28 Jun 2021 10:35:18 -0400 Message-Id: <20210628143628.33342-19-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210628143628.33342-1-sashal@kernel.org> References: <20210628143628.33342-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.238-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.14.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.14.238-rc1 X-KernelTest-Deadline: 2021-06-30T14:36+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit 253697b93c2a1c237d34d3ae326e394aeb0ca7b3 ] When CONFIG_HAS_IOMEM is not set/enabled, certain iomap() family functions [including ioremap(), devm_ioremap(), etc.] are not available. Drivers that use these functions should depend on HAS_IOMEM so that they do not cause build errors. Repairs this build error: s390-linux-ld: drivers/dma/altera-msgdma.o: in function `request_and_map': altera-msgdma.c:(.text+0x14b0): undefined reference to `devm_ioremap' Fixes: a85c6f1b2921 ("dmaengine: Add driver for Altera / Intel mSGDMA IP core") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Stefan Roese Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Reviewed-by: Stefan Roese Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de Link: https://lore.kernel.org/r/20210522021313.16405-2-rdunlap@infradead.org Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/dma/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 79b809dbfda0..ff69feefc1c6 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -58,6 +58,7 @@ config DMA_OF #devices config ALTERA_MSGDMA tristate "Altera / Intel mSGDMA Engine" + depends on HAS_IOMEM select DMA_ENGINE help Enable support for Altera / Intel mSGDMA controller. -- 2.30.2