Received: by 2002:a05:6622:f08:0:0:0:0 with SMTP id l8csp4488295ivc; Tue, 3 Nov 2020 13:21:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJw4QlrYXJVK3UVqdSTgQhKjACRFTmIBpQqEDW9OxR0AOZHAm5d2cap6y9X6c3dIWQS+NYfO X-Received: by 2002:a17:906:19c3:: with SMTP id h3mr22297586ejd.395.1604438511904; Tue, 03 Nov 2020 13:21:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604438511; cv=none; d=google.com; s=arc-20160816; b=dLDHaaZ//tqIBJ+5kc81lW4H9BIGQhP0p4k+oUCSfpO87bWUE+fQ7KiAROE4eKjt+t v8MOmpk5SMTtBrBsjEFgXZ0EFe0zK/MmDQQA65YN8ndqgtWpG6TVX4he9/knhGtasqAH nj7aZ1OfjFRaNOfiYV+G1qp4NRBrc8Yz7lnGdBnJzHZkGWMNC+oiHl0OZoytkh7uXfgT 73X7XXpWDMYgnZw6KxyGfkpsVZWILdm+pR15znXujvZiklFQRQK301ReW4NXtOXyug5r 3dBPs/PAdmNNIiK2YN9P8jxN8G85WQUl0Gb0qyI5G0OQN5vvF8h/eH5HLi3iUQitu/gX YqJQ== 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=jqlQFtwflgK6oUESySrE8ayYVB4ywW3qyvV4LOY+uRE=; b=lzTCQgD8vXhfE0NYT8V4NWMojc4YV2LD0HmPPUBf+M7W76C4bl6J8OaWHaFKwk/27k JKUUBpWSEsryQNbc0d1HISRKl0BswYJh7e4FHYLGWL1cyklKEyWoy/+YhUpy84ph3Vb1 mLuQuJk1KlSbd5PTtC6Ajb+lwtZEe2yTFTQ3bMvaD7kZQ1PPDA/nH/Spzdxoz5Y/4X/F c4zfrVolm1wxJYaBB9Y2DJmENbQpSmcxverVUuPhvndIt0oSRKTY2qfpWxvYLyN08tSv 10BDobAr4Z2/CXN6UETDYCdJrbrML6fJ28nbFI76990a13bm2JeIEhcBCTQ2ndoDUs43 phWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TuiL4nDP; 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 r2si53389ejr.265.2020.11.03.13.21.28; Tue, 03 Nov 2020 13:21:51 -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=TuiL4nDP; 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 S2388428AbgKCVJL (ORCPT + 99 others); Tue, 3 Nov 2020 16:09:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:47556 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388516AbgKCVIJ (ORCPT ); Tue, 3 Nov 2020 16:08:09 -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 9A307205ED; Tue, 3 Nov 2020 21:08:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604437689; bh=m4g9q+Mue7xJeKG2I/ft/AffLGKRBJrMhbhgOqcRyQI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TuiL4nDPTTu4XJkVBzRzuCpavrHVPaCwWfbsP9eRIkgk1hTI7+LGx5iWPW3Rzkguc HbegLBaiQGVcfhZUf4i7bOKIDsDVr02RAiMptrSjBBTPJDhrfRkVewdefwlmkSzIcS HUKNzwGwtVHfvsputkVeE7FLm7KCpS/CGLEwIJcU= 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.19 184/191] ARM: samsung: fix PM debug build with DEBUG_LL but !MMU Date: Tue, 3 Nov 2020 21:37:56 +0100 Message-Id: <20201103203249.978323384@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201103203232.656475008@linuxfoundation.org> References: <20201103203232.656475008@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 @@ -240,6 +240,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