Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp806002pxb; Tue, 3 Nov 2020 13:03:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJygCLem6pszkfjWQMB25rkWlsZ3w5UG0Yjt/qTgcTDkzXiPq4vOKWMjpWIwztSmhZwSK/L4 X-Received: by 2002:a17:906:cc4c:: with SMTP id mm12mr8441519ejb.141.1604437415336; Tue, 03 Nov 2020 13:03:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604437415; cv=none; d=google.com; s=arc-20160816; b=B5Y7IHiDBrP8FErDQVD2NG3xxUoMZrUhPrr+M1ADpafgbltZiGCBdAjPbgjmJZ0BDC xsmb8f43r28N2UuNza2wc2VLnInZ0ZcekIkls1zXnLIB7sy1wyp4TbpMOMrgT4DW8TEb W54a8gT4guL4CDtVUpJQz1O83ZM6qOFvEr3zmYXapa7ApujlsUJimMG1RaARYrWZsihh QzF95PyKQoCLXsrncXqJBpxri+mcE6Iiqi3+6FKqVuX8mi/X5tMzXWwJD6E4rc3oV5t9 myOQFe5MXttHUPokN4hE67YsVCVAF9QrU1CclUGRi6s2/Mr9nHvY4kq0fU+m0B1NAuxe hhEw== 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=zaFaye7od8BuKUAtmuhjBHsSLJmq+R+KPbVKwR8EDCM=; b=WcNS6C6B7zpr966eT84+XLYr7lx4nPzUhlVR1AXWG/qZ5n2Gk4kOfhKMtTm4MlTi8l Ikn12Fs9db8DG8kVQWf0jkOnhYGPOkOjqY3TCC0Kpl0SES9TGnZ3BfT6Mtde7hE3Ziac JcqjaTEe3xivVl58saA7+dnpMLQzC/wlYC+zXMjxLqWiXFdYmgzNXnetFGIWXT+EYZcX MIMC4G0ranaBxFy5rMk3TOtog+M+UfTdnxizu0TEM7O2aR/feT4P3wCHur9i9asRD0ij co7z6G2YfWDCO69qhwxumwlGeDYuDnz6PV0l1PajNkLR3EDYfQ1b9jQRiAwK6hr3qlUJ Qh2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LnUwS7DE; 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 co26si3669410edb.209.2020.11.03.13.03.12; Tue, 03 Nov 2020 13:03:35 -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=LnUwS7DE; 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 S1732333AbgKCVAj (ORCPT + 99 others); Tue, 3 Nov 2020 16:00:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:36586 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733208AbgKCVAh (ORCPT ); Tue, 3 Nov 2020 16:00:37 -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 4C5B3223FD; Tue, 3 Nov 2020 21:00:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604437236; bh=sPcDn3pCFsVf/hXUP2umMlz2D70RkKKsF+8Rs+E/f/A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LnUwS7DEZ2XBmFzrQYXS2/9f++XMPbvy1K7nwlzdYMdVK7LtEVfuk02POm0ZskxvX EFowDDvXtDrddxKRXlIMxdPCkRBLZ/4c69/kk8Q43unZKKLEjMynORoGB12D6+y/hI 1V/tWygRW069SONSda3fOrg09S3y/kQs2w3i7lak= 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 5.4 205/214] ARM: samsung: fix PM debug build with DEBUG_LL but !MMU Date: Tue, 3 Nov 2020 21:37:33 +0100 Message-Id: <20201103203309.831128087@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201103203249.448706377@linuxfoundation.org> References: <20201103203249.448706377@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 @@ -241,6 +241,7 @@ config SAMSUNG_PM_DEBUG depends on PM && DEBUG_KERNEL depends on PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 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