Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp376538ybl; Tue, 27 Aug 2019 22:27:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbqH2JnE9DKngQT0N0SVAOWW5jy993H8E0tPWzcC0SR+Ps65E/luYNXqQYcvdC25HoPARY X-Received: by 2002:a63:31cc:: with SMTP id x195mr1872507pgx.147.1566970056776; Tue, 27 Aug 2019 22:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566970056; cv=none; d=google.com; s=arc-20160816; b=WcpuvT2PGRJi2touOHquRQWqCAnVddauxeX2bUeZVry65uiWfm1NM1PdFwQ1J1KjbK UXE3u5rlyBPb09RfWKAP4XFlPKuZlhmBPWQ/IQ2OTrYwSeCaTspB+eGn9sEKaoO0HITk 67yNhT2IUt7djx/VRuDE5W8kOpHpeBS2kbphH9jxo9VS4Z8qK6ahVkemYSZJrWkVj9Wg 4clk7gsY8eB/DQ8ArEa86OHW+h1FLJ6amqv7s1FMY/lvww0sNpcssvKaiDZSJQn2IzOe NwJ9ehREzVwAdMxXZ+UhkLLMiYr2xL/GEr0vz3AKisFJeymyNfDea97uTtNO2kyVdw6D 0C8A== 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=r3okL2IbB4x4scWePdszWm5yjyzaqmpt+xVUSaU+kT4=; b=miZA4M2ZmaPLFZ1V8d7Xd6mfrxOcgCZAZqmUFLDfTKZdgiY0F1mwClomQBgHaFRiI+ jTgwIzBYP1p70MCITaA8ItuMrKffL2onSx2jzxfYLI3jYYAqbHtVq/83JwlImJVBDNCI DwKaNu4E6J6TnbtaV7OepRa1LQoFV9AJlwIDk8kcgzuUv9+Q45svq9C9NaeechpYvOnV 2FzbL7NaYnwyn7plI27gCDcblmvNjWRn2cLVKt6YnzKQWsQ8AJfKG4Tw5Xr6lHMAyICE 2Sg08bhAbfloG8ppF3YN0Zwq43RhSLyEjVa70N0FYjFrdTwoEiQ9arDhLBgio2AjOYQr j+NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=y+Hyjr6N; 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 g31si1031942plg.233.2019.08.27.22.27.21; Tue, 27 Aug 2019 22:27:36 -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=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=y+Hyjr6N; 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 S1726268AbfH1F0W (ORCPT + 99 others); Wed, 28 Aug 2019 01:26:22 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:44595 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725907AbfH1F0T (ORCPT ); Wed, 28 Aug 2019 01:26:19 -0400 Received: by mail-ed1-f65.google.com with SMTP id a21so1484420edt.11 for ; Tue, 27 Aug 2019 22:26:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=r3okL2IbB4x4scWePdszWm5yjyzaqmpt+xVUSaU+kT4=; b=y+Hyjr6NM9kKyVv7oP5Ti9zhf/pcJhuC2oOoUho/f2BNcnT7iIRSL6R/jalaG9bLiy aziSw7rnYsuz9UdeD2g/M55fCmIrvkOLby2VKoRKuku/zZwy6ZTePuxygdKCuDIkPUX8 FuSJNVh+2J5paCQQenITMDt1B/tu7E0uzCoxcVltvNpy/mFbbABWan6Wg3rJenlZ5vmc /lFmfyQR6dpLdASTMxOFzDA++2cYRjSDiZ2BgGBzC6rd5XBK7M69ORS67wESEe2llhvT x1molnb6izKo7qx0kCFVvld6tfxgqVeboAc3sjFvkRpMj7mF9aTZVfImdBtzDSOLYUCG ma/w== 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=r3okL2IbB4x4scWePdszWm5yjyzaqmpt+xVUSaU+kT4=; b=qhxAuhDyArzGOad4PgISh5oG5itCVmtFaKMowCqe+7HnrnAu2d7IT7ZlnKa6gnR/hw JJnnX3ZKsR5/6VkbZpbRE+DhEc9lGlnebQCA2pZdft0YOhZA4Mn+Wylte/DeAzuVibwk RIkGcdITw8rwsROiyyAcN9XEhOcUh5UZsVDE45Uo6uQluNZixAm1Evu2E/XpRji/NN76 cyvxIOf+4UxQqr5FFg64ELNp2K2aTHmFfXA7bongwdixGAftVJ3ykclGACLwBK5xOti0 am9QV7/Ab9gN5puQ2opmJsIkYtu9oTFOAURFxBIzNO6LjZe67NK9A+XZYO7odLZck45s oJjg== X-Gm-Message-State: APjAAAXLOyDEctg5SLHQY87RUnvBW1itwjjubefc/mP1Xzbkyca8v+NJ +X5jktIeIoq4IHDmKU82NyAG0w== X-Received: by 2002:a05:6402:1594:: with SMTP id c20mr2168303edv.130.1566969978272; Tue, 27 Aug 2019 22:26:18 -0700 (PDT) Received: from jkicinski-Precision-T1700.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id la5sm213063ejb.30.2019.08.27.22.26.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Aug 2019 22:26:17 -0700 (PDT) From: Jakub Kicinski To: rostedt@goodmis.org Cc: mingo@redhat.com, linux-kernel@vger.kernel.org, oss-drivers@netronome.com, Jakub Kicinski Subject: [PATCH 3/3] tracing: make trace_array_create() static Date: Tue, 27 Aug 2019 22:25:49 -0700 Message-Id: <20190828052549.2472-4-jakub.kicinski@netronome.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190828052549.2472-1-jakub.kicinski@netronome.com> References: <20190828052549.2472-1-jakub.kicinski@netronome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the W=1 missing prototype warning: kernel/trace/trace.c:8319:21: warning: no previous prototype for ‘trace_array_create’ [-Wmissing-prototypes] Signed-off-by: Jakub Kicinski --- kernel/trace/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 4cd9855dcd88..c7491d9b0ac7 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -8316,7 +8316,7 @@ static void update_tracer_options(struct trace_array *tr) mutex_unlock(&trace_types_lock); } -struct trace_array *trace_array_create(const char *name) +static struct trace_array *trace_array_create(const char *name) { struct trace_array *tr; int ret; -- 2.21.0