From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D176FC433EF for ; Thu, 11 Nov 2021 22:07:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B9935610A0 for ; Thu, 11 Nov 2021 22:07:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230308AbhKKWKs convert rfc822-to-8bit (ORCPT ); Thu, 11 Nov 2021 17:10:48 -0500 Received: from us-smtp-delivery-44.mimecast.com ([207.211.30.44]:55649 "EHLO us-smtp-delivery-44.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbhKKWKq (ORCPT ); Thu, 11 Nov 2021 17:10:46 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-503-6NyxCiVjNaOH38PjM6hYgw-1; Thu, 11 Nov 2021 17:07:53 -0500 X-MC-Unique: 6NyxCiVjNaOH38PjM6hYgw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 15E618042E5; Thu, 11 Nov 2021 22:07:52 +0000 (UTC) Received: from x1.com (unknown [10.22.32.91]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2AEB4179B3; Thu, 11 Nov 2021 22:07:49 +0000 (UTC) From: Daniel Bristot de Oliveira To: Steven Rostedt Cc: Daniel Bristot de Oliveira , Ingo Molnar , linux-kernel@vger.kernel.org, kernel test robot Subject: [PATCH] tracing/osnoise: Make osnoise_instances static Date: Thu, 11 Nov 2021 23:07:42 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kernel.org Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset=WINDOWS-1252 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make the struct list_head osnoise_instances definition static. Cc: Steven Rostedt Cc: Daniel Bristot de Oliveira Cc: Ingo Molnar Cc: linux-kernel@vger.kernel.org Fixes: dae181349f1e ("tracing/osnoise: Support a list of trace_array *tr") Reported-by: kernel test robot Signed-off-by: Daniel Bristot de Oliveira --- kernel/trace/trace_osnoise.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/trace/trace_osnoise.c b/kernel/trace/trace_osnoise.c index 3e4a1651e329..7520d43aed55 100644 --- a/kernel/trace/trace_osnoise.c +++ b/kernel/trace/trace_osnoise.c @@ -55,7 +55,8 @@ struct osnoise_instance { struct list_head list; struct trace_array *tr; }; -struct list_head osnoise_instances; + +static struct list_head osnoise_instances; static bool osnoise_has_registered_instances(void) { -- 2.31.1