Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp175431pxx; Wed, 28 Oct 2020 01:39:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygjzvjQFZp/LXAz/qU0z/Vx5fUGvj6Ke7FgBV6f8zt9yBGD8nsV596zhu2wkaiA3c/bkom X-Received: by 2002:a50:8ada:: with SMTP id k26mr1567087edk.281.1603874351494; Wed, 28 Oct 2020 01:39:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603874351; cv=none; d=google.com; s=arc-20160816; b=puMFiqvxRyiQ+XdPcxU/RDIUz64BUVp6xxukcraPJbd+q7YY65d+gExBWM0QN9/0DA b43ESueAqiOe1um0aWXznoonV/921epQSRGzP9obi26HM7Q2vd01/XittQhOrqDc/cGm esSp9UiMC50mE7KpK1N51oTEv1hbETmM1SLJ56ZuRQ8t5yB2V1FGDXMQfXDjOdafdRju 1X4PxAjlmp+nStUxU1PSYs9xKfdfAZYlF03P+Yyhf0FY8fLWKKjhh8tAjW7mzwaA44J4 SM2dFi7sFoiMm6REsyhdTJloj/NTGtNXuZ3OW7zQ/8GePCfNrk9TTnbL9Let1zNkJUkY lt8A== 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=r7GLZWnizBHHZBLKQ7gHsawg2SVmbvqd6s0Om5gEWqQ=; b=0iuQJQfYirtBjMdf6RXptBvOAh9cD86DMDFCaHaTJDc4c7j+dKsW08C/02LaPMI/eR U/AauddHRYP/YNfHAt8NEv+GJZrPQ491YWswOT7zkMXpbJH77ZGf+L0629dMKraNtcAt Rg2YyGnp9dNVHjR6LuKGLdb+EFu6RCaa86kjlRjJ5pHJknFHl7TqhdhLmoSq5MRwI0Oy kYsWzXH0zNOEFUJEPTgaRNRtd/ash5Zg9Bmyo03r/c10zDpuQa5wRfohhY4+DfolQ5wn MVjJZbYuNSuqe4iR1BB84JtdBZbfJ8mVA2xj9JkFKf5ir2glx8j0iuEAzOD2OWd0h1KZ pb4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cOKtP+Rc; 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 s16si2897729edy.300.2020.10.28.01.38.49; Wed, 28 Oct 2020 01:39:11 -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=cOKtP+Rc; 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 S1754813AbgJ0OHM (ORCPT + 99 others); Tue, 27 Oct 2020 10:07:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:52810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2504514AbgJ0OEb (ORCPT ); Tue, 27 Oct 2020 10:04:31 -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 79EB72222C; Tue, 27 Oct 2020 14:04:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603807471; bh=KuikWtcotnOqhj/DGt+rY3tynPMnpsb0eh5umN6NP8I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cOKtP+Rcy27C2rQDsWVyQrJnSDUxrawpHmelFOEqGLK4sLiA/+SQCoW17q9j5oWYe LOUzJvLY31fPDVia9wrI1Ugfo1RaFP/4IdWrYt8xI27vpvzi8D4RhdmTTCBmdZ1wBV LQVme2rhsv/t21/6hEPLF9FPyFO7DNIuKvECA+ZQ= 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.9 036/139] tty: serial: earlycon dependency Date: Tue, 27 Oct 2020 14:48:50 +0100 Message-Id: <20201027134903.858457969@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027134902.130312227@linuxfoundation.org> References: <20201027134902.130312227@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 25c1d7bc01004..7ea229cb1d864 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