Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3208002pxb; Mon, 9 Nov 2020 05:37:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdGihh7hpC9D6pN/lJTDdSXeIAkPwvIMgE2XEfwo/7RIHiI2+VRkpKh/ufQXGb1NBPrPZS X-Received: by 2002:a17:906:b312:: with SMTP id n18mr15466857ejz.353.1604929054037; Mon, 09 Nov 2020 05:37:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604929054; cv=none; d=google.com; s=arc-20160816; b=ZU+m6O7uhzvdxLNlu6jzpIOTp4YzBVsN0zxiXr7XULYv/CkAmiapNsgvhZPl53AgHL I4eVfini44Cf0bxrMdhErhqBKeU9u0EqoR+HQBBdL1iaJ63Rfz2sgt/MXQUep4lo5r/J uByGBMOX5vL1HPTsTtKI53KIAjtMuM3Jk6BCmvOxlBJIbP94T9RH28ZM7zYN1EXno9KF S59t4xcJcYTBQesvYW8R5wzmMsNIJ0HvbhYltIQ9sHuCsSd07KHOY2dyOz+ZoE/u6AH3 MXFEN7ZA1wSisfwXLqLLLBzezLtJAa8MSUy3VdtxGSdzDqY79cUid8e2Zu6bxtqnvIPa 2PEQ== 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=3351Jzs16mqwN554ZvrWF6inKI7r34ZZfoUdj7NPYoM=; b=AGLS62InFyEWNDTtVtL7Wn986Qo92KHRpnO0JPjn1zwgnsNOFsUSsWRU8nPA4CNTYH 4YVDGE3hqkmha/jwTjC7zWy9TUbpn6a7ZmN3gDPoilbUbzJL0UsfN6det+6bUnXZcgou WF5asIcACGphsxC/UXpR3jreyaef/1aGIIGgK0HEK1rf6HXnqpJBX2yLge2UXiRQI9fC M1hg7TvnndrUHbCSnicVWlY1o9YL208S8pQ2adZReIT0cixba3f0uls28rh4rVpyc0CY bRO+MROlTnNhiX8gec6HrXTmL5ECh1GQ01waDL3FtluB3ziP83RDVlMadKTqxN3ALDDI 2qqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jbAUa514; 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=fail (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 n9si7691440ejo.640.2020.11.09.05.37.10; Mon, 09 Nov 2020 05:37:34 -0800 (PST) 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=default header.b=jbAUa514; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730964AbgKINfx (ORCPT + 99 others); Mon, 9 Nov 2020 08:35:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:58116 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730837AbgKINFU (ORCPT ); Mon, 9 Nov 2020 08:05:20 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 29EF620789; Mon, 9 Nov 2020 13:05:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604927113; bh=MzQblIlLxg3h3xxgE3Uf01tjIDi39O9jXtVbrNnZDdk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jbAUa514RLNEzpcteSpj5hSPIIqbMQ+KDN/nUw8e0T/HrwRe5y5abINEc6Io8tyY0 fMN2TnoS+r87GVBG9GtKjql0NjmF17tiGy1lH942hOztA2pTXx2BK4qS6QdpEbPVK2 fskEvBgYIyRbYzIi84oxYAyB2fWHUcMVWNRAn1Ek= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Krzysztof Kozlowski Subject: [PATCH 4.9 084/117] ARM: samsung: fix PM debug build with DEBUG_LL but !MMU Date: Mon, 9 Nov 2020 13:55:10 +0100 Message-Id: <20201109125029.678753438@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201109125025.630721781@linuxfoundation.org> References: <20201109125025.630721781@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: Krzysztof Kozlowski commit 7be0d19c751b02db778ca95e3274d5ea7f31891c upstream. Selecting CONFIG_SAMSUNG_PM_DEBUG (depending on CONFIG_DEBUG_LL) but without CONFIG_MMU leads to build errors: arch/arm/plat-samsung/pm-debug.c: In function ‘s3c_pm_uart_base’: arch/arm/plat-samsung/pm-debug.c:57:2: error: implicit declaration of function ‘debug_ll_addr’ [-Werror=implicit-function-declaration] Fixes: 99b2fc2b8b40 ("ARM: SAMSUNG: Use debug_ll_addr() to get UART base address") Reported-by: kernel test robot Signed-off-by: Krzysztof Kozlowski Cc: Link: https://lore.kernel.org/r/20200910154150.3318-1-krzk@kernel.org Signed-off-by: Greg Kroah-Hartman --- arch/arm/plat-samsung/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig @@ -242,6 +242,7 @@ config SAMSUNG_PM_DEBUG bool "Samsung PM Suspend debug" depends on PM && DEBUG_KERNEL depends on DEBUG_EXYNOS_UART || DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART + depends on DEBUG_LL && MMU help Say Y here if you want verbose debugging from the PM Suspend and Resume code. See