Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp261509pxx; Wed, 28 Oct 2020 04:23:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyooYl51ixw6GL3lbKpKQer4+Tj+WQzKS6rTflJVs0y+YE+zXTBI2fCvXM2BkNs4CgXbJjM X-Received: by 2002:a17:906:ad8:: with SMTP id z24mr6853820ejf.222.1603884237961; Wed, 28 Oct 2020 04:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603884237; cv=none; d=google.com; s=arc-20160816; b=RntTVS0gAyCEvT644M8HcrQy0nioANGt2Z77lSGRLYkLyzvIlanFYDzE686cFfF+7z jJH3h5+Z8LiQ9CalyPta4yWfsVa5026zY7rcPUC5AJH8wjAGWpE9LP+VnOVsNitiNcDA WULOqhTaLpa28Y68iq3951Eklv//PX7KxlgXGnZm3kfomrqS3EjrueCNNBYdDbR18H6g wFvKcxLGtGE8QrDG0CxJFW924vIJOVbLeZv0KRuKn5pDyL17tm46+mlLXAOhSmGiHqwb PLIqoqSoMsKV75Ue0UNRBz4ilRvMtWiB5FlYGc1aSAWNYQ5ghgp6uBM5kcQXY1L2BWPZ m7EA== 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=fCGTTmb7vLM/ROU3rX6uEkiHmKXt9nrCcxI5Ftx4LHQ=; b=IVDky5Qfon2OtORdE4zN7s4zb2xP3cYZ45JqsFWq04Cq2yXbCYFC9ZbwJeMpw2CeRl cnTMVLQC467U+sV5eQoCz/ivnmm8Tw1VZynliMw22exP1d+18HMQn1yDlZBgPDMm8jff YrElctWyluvHTihKkW5GgFfV02cIvetZh6OJcmXifL3028K+bLVXVAJB3XMlKQ9veYy4 87wetxA+UJWBHgPIaZwpyRi/zuNGdRN0nQKpFH9rotPbGcxr0bXk5LZPyYz2vDc5lf/O /qhIw6BzMHyXgSfglHjei11EIOG2QqWGhY4Q8PeM9LggPP67CW2SkL7eIzXqQWbgIzrn EONg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pk3ECQQW; 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 b6si3402013edu.343.2020.10.28.04.23.34; Wed, 28 Oct 2020 04:23:57 -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=@kernel.org header.s=default header.b=pk3ECQQW; 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 S1789845AbgJ0PDO (ORCPT + 99 others); Tue, 27 Oct 2020 11:03:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:33636 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1788530AbgJ0PA0 (ORCPT ); Tue, 27 Oct 2020 11:00:26 -0400 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 937CB20715; Tue, 27 Oct 2020 15:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603810826; bh=68MZxKVkVV8Jbhxo8M3XddQfLsQPWjQhEbfXZvfq0+8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pk3ECQQWoYOZFmpRHrwrcqucbiJ67Ol/FiNo/ta/iJeFlR6d5VhvRXzK8GofIO0hB roDbkXqF7ZdjXJi1EzI9prlWDIRif2x9nGV0lGLiUg+wgBt4+o/AmG1H6U3Le0tlsi gVD99qsQk4mtKWhVIBorDQmzlCJ9rE+CCL7MwXoQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , Yang Yingliang , Sasha Levin Subject: [PATCH 5.8 275/633] tty: hvc: fix link error with CONFIG_SERIAL_CORE_CONSOLE=n Date: Tue, 27 Oct 2020 14:50:18 +0100 Message-Id: <20201027135535.568251447@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135522.655719020@linuxfoundation.org> References: <20201027135522.655719020@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: Yang Yingliang [ Upstream commit 75fc65079d8253e1c25a5f8348111a85d71e0f01 ] aarch64-linux-gnu-ld: drivers/tty/hvc/hvc_dcc.o: in function `dcc_early_write': hvc_dcc.c:(.text+0x164): undefined reference to `uart_console_write' The driver uses the uart_console_write(), but SERIAL_CORE_CONSOLE is not selected, so uart_console_write is not defined, then we get the error. Fix this by selecting SERIAL_CORE_CONSOLE. Fixes: d1a1af2cdf19 ("hvc: dcc: Add earlycon support") Reported-by: Hulk Robot Signed-off-by: Yang Yingliang Link: https://lore.kernel.org/r/20200919063535.2809707-1-yangyingliang@huawei.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/tty/hvc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/hvc/Kconfig b/drivers/tty/hvc/Kconfig index d1b27b0522a3c..8d60e0ff67b4d 100644 --- a/drivers/tty/hvc/Kconfig +++ b/drivers/tty/hvc/Kconfig @@ -81,6 +81,7 @@ config HVC_DCC bool "ARM JTAG DCC console" depends on ARM || ARM64 select HVC_DRIVER + select SERIAL_CORE_CONSOLE help This console uses the JTAG DCC on ARM to create a console under the HVC driver. This console is used through a JTAG only on ARM. If you don't have -- 2.25.1