Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3715478imd; Mon, 29 Oct 2018 11:11:00 -0700 (PDT) X-Google-Smtp-Source: AJdET5fGBU3kF42FD/rECMJNgQTojovYCRvbHbJM5mzoYc2t7Alf6PauD1ZyZ5bZmcPTVS44zguB X-Received: by 2002:a62:4803:: with SMTP id v3-v6mr16764184pfa.89.1540836660468; Mon, 29 Oct 2018 11:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540836660; cv=none; d=google.com; s=arc-20160816; b=r3omyph4gE8rS0z81Fykz+oW0XehMTto1yPsrvsFYXvGwFIPfSKPU1AeilQUkEz6I2 mMh74DWN4zz8cxTER9GHxibYVyz+Bkfzho7Btq/q8aNGiSITfEsvYrI1BBofycdu6I86 rG7PdCzAYXMoF/MacuHh1AcGsUyhvFI4XsDgf+MA2Hf6/taMxk+/yqIPRERZ6FY4bXPU UVAeVyHTEs4BcwBos+Zbkg92PJVvvYXf/N+fgwFrjq93fZcpFkrTzDccuZjmOA1jtntA nGThlNTDzLJ91Q04D5tfqpDTP+x3dxQNUGyymw3etHuEbsHhtg/EP7uAcYe+qEzkfcuE t7pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5ju7DDjQ5EQgY2Vdm0x5sIc3hTRdV2cyAY2lMXK6mO8=; b=m8XN6wNIQj079022InP/bFae+tdNB1ob4kn1pYpn0YkR8xlrSbESg6gEkecTE85glj P3Nogq5b94MmYLFMvKkWqo70gnQn0a71JEvyXLiUOrGNr6ZdDPa4qlKhTPF2yrEUU5jE dNPUmxzVbfv+dN2VqKqo75U6s7zbu+3FEfbgJbo8L67t2JnDmK7TObL3887TS4rtsWGm 2igQ95SIalnFbp6S1FlDz6bUsb+mG3CF51f+4TYk8qseAnFIAsBmyvGTqX+O60kC3/R+ EFMLxQ6O9w5Lcy8J+Dy9MQHPfcuAEtOtqIP6qcCmwpj7QZLsNpFg0u0izzmh37eMLk4L K6yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Ob/pQuW0"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a16-v6si14510051plm.3.2018.10.29.11.10.44; Mon, 29 Oct 2018 11:11:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="Ob/pQuW0"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728382AbeJ3C6N (ORCPT + 99 others); Mon, 29 Oct 2018 22:58:13 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:40445 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728333AbeJ3C6N (ORCPT ); Mon, 29 Oct 2018 22:58:13 -0400 Received: by mail-pl1-f194.google.com with SMTP id b9-v6so4189292pls.7 for ; Mon, 29 Oct 2018 11:08:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5ju7DDjQ5EQgY2Vdm0x5sIc3hTRdV2cyAY2lMXK6mO8=; b=Ob/pQuW0UpUR0ay7nxqMBJYNktZXki659iJYgHVConzvPmS4IV1S4A1mYLzvtn/e0n 8SnvPTjxAq8pcTjyTUuODUpOcVLuo1WWQKaKpY7bSOsYb+albnPRCAKUSTNJjvdkWT1z Ygt+TUn+pXlXb5W+RED/ZDNAdFk3/ObF4qEOY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5ju7DDjQ5EQgY2Vdm0x5sIc3hTRdV2cyAY2lMXK6mO8=; b=VwRWNAJHp0pVJACnDlosOYwMbNC2ivnVWPb3vbNIod3httnpGNfdSyOxwM7oRo3GDl fBjiG4Sb21j3Ne5JybNKsymV8GpQTt489xJ5NdWSX0rdhhjc2EtAv4WdrKJqoNENdvWI ZH3bjcJ8EkuyumTsGFlGQdk+UIx4kJ8G9ReTE5bSVwsJrtatanc2/3gPfs/XiQAgWpAH aZ8IAhZ6rrGdfgLRutpd/cogjQTFBGWuqiMLTqDEYA4EkkJX/OQFFWP+UppR5Kay9JPY LAVZr+jW+JdOU0Im2HkMfo9pz9s+GOmzJFv/fM3iACweEEEk6aSH0zKgpKVKnzA6so0d bB8Q== X-Gm-Message-State: AGRZ1gJ0uAtxHzHEgD9QXikLojeiQ3KXPbJY60d2MzOBQY73IeuYUrV3 h+BAGAd3e+AiT4XBhvvNGRmyrA== X-Received: by 2002:a17:902:4165:: with SMTP id e92-v6mr15496837pld.209.1540836509720; Mon, 29 Oct 2018 11:08:29 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:c8e0:70d7:4be7:a36]) by smtp.gmail.com with ESMTPSA id u13-v6sm20537765pgp.18.2018.10.29.11.08.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 11:08:28 -0700 (PDT) From: Douglas Anderson To: Jason Wessel , Daniel Thompson , tglx@linutronix.de, mingo@kernel.org, gregkh@linuxfoundation.org Cc: linux-arm-msm@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, Douglas Anderson , linux-kernel@vger.kernel.org, jslaby@suse.com Subject: [PATCH 4/7] serial: core: Include console.h from serial_core.h Date: Mon, 29 Oct 2018 11:07:04 -0700 Message-Id: <20181029180707.207546-5-dianders@chromium.org> X-Mailer: git-send-email 2.19.1.568.g152ad8e336-goog In-Reply-To: <20181029180707.207546-1-dianders@chromium.org> References: <20181029180707.207546-1-dianders@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the static inline function uart_handle_break() in serial_core.h we dereference port->cons. That gives an error unless console.h is also included. This error hasn't shown up till now because everyone who has defined SUPPORT_SYSRQ has also included console.h, but it's a bit ugly to make this requirement. Let's make the include explicit. Signed-off-by: Douglas Anderson --- include/linux/serial_core.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 78de9d929762..5fe2b037e833 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -22,6 +22,7 @@ #include #include +#include #include #include #include -- 2.19.1.568.g152ad8e336-goog