Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6006487ybh; Wed, 7 Aug 2019 15:28:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFNOqi1xOJGQADCw8vMJh5Qdddv/2x+luXEpcKTwFBiPAv30R1tNcq81naBACUSVOvglof X-Received: by 2002:a17:90a:bc0c:: with SMTP id w12mr626084pjr.111.1565216895854; Wed, 07 Aug 2019 15:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565216895; cv=none; d=google.com; s=arc-20160816; b=CehGjnS0aZxvw0cZ/FJVJNgasN6SpDxsJqrf8dzE5Bu0Z289q2N3sInqrXYfmLOft+ Zliuv4nw+/35aYD+dzxtcfRqzunf4fBSUMGIg4yWnA+pnOBIYe3CWJ7Icx3Mt7+bQzw5 DCj4OHhXfspTrLWor7DpPx9WRt7zpKFZGMGlQxpW9YYqWhcESTMEcFVYapFo4rhg9hQ6 R60dSHuym3HEaQmVoX5IuYKQjXy+x2xil3DyFZ0oGiL1IqcSnWaWxvE+tQGubIby9yRk I+FKcBBn8tQ27cH9c909D0t9oLcbmYqh9zR54K5GTFN5UOvUgHkOuf9BlB6bgeeyjqir ZEKQ== 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; bh=KC/e6giElucYk/Iql9280ZIE5ULbBd65BDw6c/9vj0c=; b=JZLA2MiQr8pgY2Amr4tNNmeCMqJ1eSeIhrwR/zy4+LZUqcXwjjxovfsb62Ffo6sGiI T1+htHSKqhD5LIgZIlUWTXA0E8YioAUkVzDWxeC1L4tPaUwZwLaYa6Iq9wmLsDkyuh3V eCjkmBDUU/mm1s6XfF317GO/5RYMqyr9NInH5v0V/1fZw08nKj3ZQF93hg5fFTnqdFXA DCQgJP14A7uWKUOAdx4I8jMk6wmeAWVhE8ENDN/mVtmUxl7R5gsqWYkM4k39DVHrtFSP ZcdvJ3Zivq1LzjFrSgJrq6rWDxkXolmNQPST7v27hAm/pnl4AHUKIqEi6fqXpriuP0bh klzw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q13si20066492pgq.317.2019.08.07.15.28.00; Wed, 07 Aug 2019 15:28:15 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389436AbfHGW1N (ORCPT + 99 others); Wed, 7 Aug 2019 18:27:13 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:51805 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388848AbfHGW1N (ORCPT ); Wed, 7 Aug 2019 18:27:13 -0400 Received: from [5.158.153.52] (helo=g2noscherz.tec.linutronix.de.) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1hvUOW-0007mg-H9; Thu, 08 Aug 2019 00:26:57 +0200 From: John Ogness To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra , Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Linus Torvalds , Greg Kroah-Hartman , Andrea Parri , Thomas Gleixner , Sergey Senozhatsky , Brendan Higgins Subject: [RFC PATCH v4 3/9] printk-rb: fix missing includes/exports Date: Thu, 8 Aug 2019 00:32:28 +0206 Message-Id: <20190807222634.1723-4-john.ogness@linutronix.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190807222634.1723-1-john.ogness@linutronix.de> References: <20190807222634.1723-1-john.ogness@linutronix.de> 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 Add missing includes and exports. Signed-off-by: John Ogness --- kernel/printk/dataring.c | 1 + kernel/printk/numlist.c | 1 + kernel/printk/ringbuffer.c | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/kernel/printk/dataring.c b/kernel/printk/dataring.c index 911bac593ec1..6642e085a05d 100644 --- a/kernel/printk/dataring.c +++ b/kernel/printk/dataring.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 +#include #include "dataring.h" /** diff --git a/kernel/printk/numlist.c b/kernel/printk/numlist.c index df3f89e7f7fd..d5e224dafc0c 100644 --- a/kernel/printk/numlist.c +++ b/kernel/printk/numlist.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 +#include #include #include "numlist.h" diff --git a/kernel/printk/ringbuffer.c b/kernel/printk/ringbuffer.c index 59bf59aba3de..b9fc13597b10 100644 --- a/kernel/printk/ringbuffer.c +++ b/kernel/printk/ringbuffer.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 +#include #include #include #include @@ -222,6 +223,7 @@ struct nl_node *prb_desc_node(unsigned long id, void *arg) return &d->list; } +EXPORT_SYMBOL(prb_desc_node); /** * prb_desc_busy() - Numbered list callback to report if a node is busy. @@ -262,6 +264,7 @@ bool prb_desc_busy(unsigned long id, void *arg) /* hC: */ return (id == atomic_long_read(&d->id)); } +EXPORT_SYMBOL(prb_desc_busy); /** * prb_getdesc() - Data ringbuffer callback to lookup a descriptor from an ID. @@ -296,6 +299,7 @@ struct dr_desc *prb_getdesc(unsigned long id, void *arg) /* iB: */ return &d->desc; } +EXPORT_SYMBOL(prb_getdesc); /** * assign_desc() - Assign a descriptor to the caller. -- 2.20.1