Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp182926pxx; Wed, 28 Oct 2020 01:57:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwafSzpq+i4MFUd4rWZpyV6rC2cab/ig7QFgpOzjf/bFBWkPqJ/Z0zCFyFWPwRMFCvO6u9u X-Received: by 2002:a05:6402:48d:: with SMTP id k13mr6693005edv.92.1603875475368; Wed, 28 Oct 2020 01:57:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603875475; cv=none; d=google.com; s=arc-20160816; b=iB8dIR2Z/6lf+Yr3PD8dPpXmrf65xSyO5P5CCo/c4Q1G1NV7KOwTl1EWXk6QuTBXND O8SFJwZBBsbGZ2puRy1orj6Bp1LwdGUkFmZTBCqXMh0MjxbFLjozSAYRWSH56UR6zK/g B7iUSu/ox9IB+9Lvhyd4NXinS/lmYsyeSRvAkHKqQICuhf//unWBepK4jibxv0Nv6JZy IEXK7AaEzYpXqqbXgVA4WC1+POhYmZM+K05+Q6HXNn5b29VauER7Yzl+BZAa1KRkVBvV xWgdh2omsdH4oZiN6D4GOmItMnotep0O3te2d3OqJYmDbxVJcAxyTmZkTLKc6GbY9C05 mnUg== 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=OlwKPDPxbJdesnMQvoiMzZ4gmVT8gX8Kg+huSglDh3M=; b=nONOjort6PNQTiu6u/ZtW0oBQLXVZhhnAmenPT/SxvAyv3V65xu/tj36TvtC1a9W8M ZTEto+mubmlhQXv8wQ6Ni+vvXW5ORxZIhWnyQetxqHjwyzA9fg+OlUs7pm9S+LYBAslc zlgM9x4oEqTcZb4cqaHPZSps3kjReyuXNHBp1AD9XdWjvghbDjNYrAmu4tZwxx1x52FH iy6eMJ3SbOyY7TyP2Su8QwSQ9Q021co4ullmtKlnxlLBXg1siiMuqwyNsJxrdeBoF+Do ZNj5WZ1fGHEI2mzXITl5xc2BRWvFji5bi07YUAn7QBe847qthD7NWx/NjU2HxdzICVQi y7mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=R+you88s; 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 l12si2820211edk.163.2020.10.28.01.57.33; Wed, 28 Oct 2020 01:57:55 -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=R+you88s; 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 S1756618AbgJ0OOe (ORCPT + 99 others); Tue, 27 Oct 2020 10:14:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:59372 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755559AbgJ0OK1 (ORCPT ); Tue, 27 Oct 2020 10:10:27 -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 5FB77218AC; Tue, 27 Oct 2020 14:10:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603807826; bh=n/H2X7ovizuy9GElOkj98urwXiizx2p+3sye27riHs0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R+you88siZ9+6iyuqs7A/bZBcEs0tdnW+OKuJk98WsYVCctdBOBXaMRMCK/hQGH/h ujYLvPQwZZCvkX2ZX11IUuVTO9AakkR2PV3ARDRadD7rqBFrcyHU67R9ZNYA/DmNau cHVm0awq+bo4X5IoLBnd7D1jIjY3wRfhtR7KEMDc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tong Zhang , Sasha Levin Subject: [PATCH 4.14 055/191] tty: serial: earlycon dependency Date: Tue, 27 Oct 2020 14:48:30 +0100 Message-Id: <20201027134912.376562483@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027134909.701581493@linuxfoundation.org> References: <20201027134909.701581493@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: Tong Zhang [ Upstream commit 0fb9342d06b0f667b915ba58bfefc030e534a218 ] parse_options() in drivers/tty/serial/earlycon.c calls uart_parse_earlycon in drivers/tty/serial/serial_core.c therefore selecting SERIAL_EARLYCON should automatically select SERIAL_CORE, otherwise will result in symbol not found error during linking if SERIAL_CORE is not configured as builtin Fixes: 9aac5887595b ("tty/serial: add generic serial earlycon") Signed-off-by: Tong Zhang Link: https://lore.kernel.org/r/20200828123949.2642-1-ztong0001@gmail.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/tty/serial/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index b788fee54249d..3628d37773034 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -9,6 +9,7 @@ menu "Serial drivers" config SERIAL_EARLYCON bool + depends on SERIAL_CORE help Support for early consoles with the earlycon parameter. This enables the console before standard serial driver is probed. The console is -- 2.25.1