Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3934341pxj; Mon, 21 Jun 2021 09:41:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRmKXdlF3sOauMcHcrS8Uxlt1nSmEPvmQRGUEUMcrrqQ5A+4GjV7szSkLE+m6/HnHOzKNI X-Received: by 2002:a05:6402:886:: with SMTP id e6mr20807379edy.33.1624293698965; Mon, 21 Jun 2021 09:41:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624293698; cv=none; d=google.com; s=arc-20160816; b=iehAXjuuYyqSk89RQ5CB+H39NxlxQhTx/nJ0CQ52y4uJfUtzvlB1T6Hyx0Y1arMhbJ ju8fFwgYvuD5sVTCpZTQ9yomet2fIIEYw9pqw41+loJIdBI0KVMJIHUbzPgXGJ9ciHH2 f9TVc9VLV5RTKhAYsCbzVfb5JgwGWk8zkUWnbwuyGyOvBGDq6iycACLMOKyeFOsSQgme CeB749BA5bc67fxhoyNW7ycuM52vnoUj11+1+fyldKn7t44woCP8kHW+SkHfkS/swnvb jQs41sSTN3wovZ6n8aHykSANo6+pad9qBZ1SUsEiVXhRMkGEDkSRHWCxackoUGExcbjC GGEw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=yShglHmahEBUQB5yvTRu/c+4c37WYYi4Ft0EOJo/xaI=; b=zExaA1ofPM0XL000GDeCCbkVxpBs04/m+RRnflBSMaDGZa+ZNm/gjRGTr0vZMWJlbk PMX0lir/Ad+z98YbCxvm2EFVB+J8xUtrOHJGiOtSd7KKsb/pG0g757ZIAn74d0TfxBMF 7U8bs8p4NXpxidbGf4VgNNFtWbciSvgLQcEUgSXd/t8ksLCZgDTjWE/rl9YwVCIaLJw9 bxymT0SmCit2hqEMizYjE4FmkFohjVog9zinsyZEfOzPw2TKT1gbu1rB8kusADueOrpW u/DpkR8LqTDL451SvGlTr5WN94F7k/vNGpfN/ujub8rRfHcF3d0itad0sNuqIbtcguQ5 UhZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=l0+KcXAs; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bt10si440153ejb.390.2021.06.21.09.41.16; Mon, 21 Jun 2021 09:41:38 -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=@linuxfoundation.org header.s=korg header.b=l0+KcXAs; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230523AbhFUQkN (ORCPT + 99 others); Mon, 21 Jun 2021 12:40:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:56118 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232509AbhFUQfo (ORCPT ); Mon, 21 Jun 2021 12:35:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 244546141F; Mon, 21 Jun 2021 16:28:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624292893; bh=nf//+NwDe7OJqJ0IAfvSrauFWYPOhsQhfg1CIy0Lbyo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l0+KcXAsSyXyavCePEucFkqSBPAAwJ3mhWU+w25+f4ILTvhPPdAZ/JEQfFaloTA3A Dvsg3SM4tsiPe03gz91nevONeKqJfrEk8NBnIQXECdsvF1Tz4WDDP3KOTHPGSfJNTs r4f3DCN/an3zHVH45zNIDC/TG/N3UlY550Nzgh9A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , kernel test robot , Sinan Kaya , Vinod Koul , dmaengine@vger.kernel.org, Sasha Levin Subject: [PATCH 5.12 006/178] dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM Date: Mon, 21 Jun 2021 18:13:40 +0200 Message-Id: <20210621154921.660320661@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210621154921.212599475@linuxfoundation.org> References: <20210621154921.212599475@linuxfoundation.org> User-Agent: quilt/0.66 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 From: Randy Dunlap [ Upstream commit 0cfbb589d67f16fa55b26ae02b69c31b52e344b1 ] 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. Rectifies these build errors: s390-linux-ld: drivers/dma/qcom/hidma_mgmt.o: in function `hidma_mgmt_probe': hidma_mgmt.c:(.text+0x780): undefined reference to `devm_ioremap_resource' s390-linux-ld: drivers/dma/qcom/hidma_mgmt.o: in function `hidma_mgmt_init': hidma_mgmt.c:(.init.text+0x126): undefined reference to `of_address_to_resource' s390-linux-ld: hidma_mgmt.c:(.init.text+0x16e): undefined reference to `of_address_to_resource' Fixes: 67a2003e0607 ("dmaengine: add Qualcomm Technologies HIDMA channel driver") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Sinan Kaya Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Link: https://lore.kernel.org/r/20210522021313.16405-3-rdunlap@infradead.org Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- drivers/dma/qcom/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/qcom/Kconfig b/drivers/dma/qcom/Kconfig index 365f94eb3b08..3f926a653bd8 100644 --- a/drivers/dma/qcom/Kconfig +++ b/drivers/dma/qcom/Kconfig @@ -33,6 +33,7 @@ config QCOM_GPI_DMA config QCOM_HIDMA_MGMT tristate "Qualcomm Technologies HIDMA Management support" + depends on HAS_IOMEM select DMA_ENGINE help Enable support for the Qualcomm Technologies HIDMA Management. -- 2.30.2