Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3940844yba; Mon, 29 Apr 2019 11:00:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGs3Si6xZ5wroTIlGE6MFPEBn8cKHqlLVrMzL9L5jpV9fHF+ZJWCAg69r13+4SxVFopCVM X-Received: by 2002:a17:902:9a4a:: with SMTP id x10mr21936300plv.113.1556560829189; Mon, 29 Apr 2019 11:00:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556560829; cv=none; d=google.com; s=arc-20160816; b=TYUodPAH3q7hhjvWQSK6IT1yVsR5dJXjuyBJGaQz6h61dB6UufQA4ayQgyFrNZBfPH Bz11/OwGf5pscM/UILtK2MSjc22pLyItxZb/VkB2uwW5UqHm0PAoZLi8J/0hpdjMQI9c LONAxyxPcQ/frWcaY3L3CVD5dqQ5j9c2wWX0v759G8MXpKVz1uVeTLE42EJDD1pvXQXD SCnsL8bpQAusObF41rR1KYqb0glFRYVQNGHaIDGuGOKmhvJ5pR2jzZNj/czwrPXE2OeJ G15+MjBtSg/0++1vsvSeHaZ7rNXtRYjFqhAh1hsZQB8lb9+9Y6WL5ptFpvTSZ1FyJV+X Eezg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:to:from:dkim-signature; bh=VP2cUI8KjAFIewDrbCGl5adztK+upR77ms3b6lJ7QZA=; b=UJBh7Nit6FrJXXCCQ6NAvkPlqxY0tXTeOOqBi/Zal3RlfWL+zPwciWAYx6s/dgqyEx RgMXVwSMTtTgWDGmSsEsik7CpQ3kFnypDRnT93Svfp3rEK8olejK/Px9G/KRWxrfRqFf FAWapZVtQLv/aCWk9n/L55IqPdTURqYX0Si6DAHECKpUK/MVjiCg/0kYARWinShMNEI6 faO/gmIZU00CvKkerPi3fZz/TbIVBAbH0QwJUJc0lsF6bW4nMX8HGtJWrDrzpXcJ4UZB aiMLoAV1N7Q4z5UEv/LI139K8nptuqOc/lIZspQT3LXO8YqBXduCRrDBTSIXMl1hMeVl pmLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b="vGMkC/TI"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f18si32541654pgj.188.2019.04.29.11.00.11; Mon, 29 Apr 2019 11:00:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b="vGMkC/TI"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728939AbfD2R5L (ORCPT + 99 others); Mon, 29 Apr 2019 13:57:11 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:18027 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728844AbfD2R5L (ORCPT ); Mon, 29 Apr 2019 13:57:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1556560630; x=1588096630; h=from:to:subject:date:message-id:in-reply-to:references: mime-version; bh=VP2cUI8KjAFIewDrbCGl5adztK+upR77ms3b6lJ7QZA=; b=vGMkC/TIMg40oY1Hbrd0Wc2gQyQNMKIhHUOTF4sFguENHVbeKt/yY64L oWsU0K9l67tOzd6sNx6HnLmXG1yJg6QD8PiZ3NybmaXYINX0MdCTOoy2s kxaD36wYKvnEZwQgOiF4APMYqFaic4nV0W/fHtEhL8e++4GaVMWCd7skj 4=; X-IronPort-AV: E=Sophos;i="5.60,410,1549929600"; d="scan'208";a="730991733" Received: from iad6-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-1d-74cf8b49.us-east-1.amazon.com) ([10.124.125.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Apr 2019 09:47:57 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1d-74cf8b49.us-east-1.amazon.com (8.14.7/8.14.7) with ESMTP id x3T9ltnl088636 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 29 Apr 2019 09:47:55 GMT Received: from EX13D01EUB001.ant.amazon.com (10.43.166.194) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 29 Apr 2019 09:47:55 +0000 Received: from udc4a3e82dbc15a031435.hfa14.amazon.com (10.43.160.175) by EX13D01EUB001.ant.amazon.com (10.43.166.194) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 29 Apr 2019 09:47:48 +0000 From: Talel Shenhar To: , , , , , , , , , , , Subject: [PATCH 1/1] thermal: Fix build error of missing devm_ioremap_resource on UM Date: Mon, 29 Apr 2019 12:47:36 +0300 Message-ID: <1556531256-26321-1-git-send-email-talel@amazon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <201904261215.nJZXSFjx%lkp@intel.com> References: <201904261215.nJZXSFjx%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.175] X-ClientProxiedBy: EX13D18UWC004.ant.amazon.com (10.43.162.77) To EX13D01EUB001.ant.amazon.com (10.43.166.194) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The devres.o gets linked if HAS_IOMEM is present so on ARCH=um allyesconfig (COMPILE_TEST) failed on many files with: drivers/thermal/thermal_mmio.o: In function 'thermal_mmio_probe':thermal_mmio.c:(.text+0xe1): undefined reference to `devm_ioremap_resource' The users of devm_ioremap_resource() which are compile-testable should depend on HAS_IOMEM. Reported-by: kbuild test robot Signed-off-by: Talel Shenhar --- drivers/thermal/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 41f3943..66a709d 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -203,6 +203,7 @@ config THERMAL_EMULATION config THERMAL_MMIO tristate "Generic Thermal MMIO driver" depends on OF || COMPILE_TEST + depends on HAS_IOMEM help This option enables the generic thermal MMIO driver that will use memory-mapped reads to get the temperature. Any HW/System that -- 2.7.4