Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5586304rwb; Mon, 5 Dec 2022 00:54:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf4F8IaDXsVRf0sqGEjNiOQ+t9eUZU2vZuZsfR0qR7EIbNJZZDAZGTKbkbP4qGFECDjyBKCN X-Received: by 2002:a17:90a:fb89:b0:218:ec4a:782e with SMTP id cp9-20020a17090afb8900b00218ec4a782emr59461221pjb.7.1670230446241; Mon, 05 Dec 2022 00:54:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670230446; cv=none; d=google.com; s=arc-20160816; b=w7uFWPFgsm1aGq/0I9scF01pvYFN9/vMGXI4Fh8M8BNG96+bfuf7+ev19LlXfsDBjv gObCd5parHFhxDoLgGUTgdMy97GeOTgbRNZDdUnHBWVXhDvDpA6dAcQJWZyPUe6iRgKp /Rb1fnJbDPDSAFgJ2pTWorXK0JRrIrznnkwLE4/MtoKijLEHcOrSpB7Lgh8VRhbomHrY hwIad6gkNy1DMc3VyUnhjDyalwMllclZ3OxNYIdAFzqHZvG6ApQ7eVZt25IQmz/9WEGg ohlTrK0FwdPgCEQZHblk5BkOZZir8T2qFwXKKH+YSCmPmAXWkhberyRslG8EwObsp18o zdtA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=57fUhJ8kx020P0c8ELC/NKbwsxVdf1yVNDg40aq6nXY=; b=LCGQfa/sdUDILHrDeYhK8uJ8pVq1mzsHQeNt9qa4+QfS+tQbyVvP/t4ZmcuhKaBVC3 C7unwYcLNNPO8XO/R+ir9Ln2ZlldZpHyMVtuh90FWz2ItGMkWvlXKe1mrs2cM0ck/CKe WU3VIHmkw7BVdlN5LBFlRZqxXm/SHMeNnxHQMRKPYBNwJPON1xeq7EiQ02TujiIRiHO/ 0dfKXZpM7RtWwKCRgVw/j2cKQpGRzEovXpKV5OtOq6PKkqy9N1to/SlhnuO4JYiqgCF8 1bAOnqUZwQQJJav/w4VEjgFlNaIbTDCY1/GlvZ6mIAvT/5I1Qbi2KWEwMxapm8f+ChwU bPkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kiCtAFr0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o1-20020a639201000000b00476e640ddfesi14734346pgd.80.2022.12.05.00.53.54; Mon, 05 Dec 2022 00:54:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kiCtAFr0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231965AbiLEI1x (ORCPT + 82 others); Mon, 5 Dec 2022 03:27:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231530AbiLEI1u (ORCPT ); Mon, 5 Dec 2022 03:27:50 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 371BC631C for ; Mon, 5 Dec 2022 00:27:50 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E3F0FB80BA7 for ; Mon, 5 Dec 2022 08:27:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5EE96C433D6; Mon, 5 Dec 2022 08:27:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670228867; bh=Ua9UvicTWdmfiQzfItuIQ0rvFf4ztlHlLpyAYSU1PII=; h=From:To:Cc:Subject:Date:From; b=kiCtAFr00DZDsnilkYWYcicYvTT0uk7Dm9FHWyBBPjWAbs1bQ+zPSnjTAkVWKYfEL sGpwJ8RFcD6yUB0XwktuS0PTvBz8LdPoBMMZNaUluERRI7mFHpvWg+WZ4CsKFxd8uq tzvtOXZU0elebbRkyyFaRypo35/ZRw+DqKvo4nBwzGaQI21QvLQXU/vUCQUvfPTtbP j+1OqyUdClUo24Mni9L+YqlpgX2KDy/C1ApZ104pP7pLSLlFxDxQrO/IUwEvGUORPO PCpe6W8wNSjvY8kKHZK7QU+63w8+MCrG7vWNL3/Eizdb2Cb0Uq4fXi/CaHEObLV3Cf Fx/VFKyqBYSNw== From: Daniel Bristot de Oliveira To: Steven Rostedt Cc: Daniel Bristot de Oliveira , linux-kernel@vger.kernel.org, kernel test robot , Masami Hiramatsu Subject: [PATCH] tracing/osnoise: Make osnoise_options static Date: Mon, 5 Dec 2022 09:27:38 +0100 Message-Id: <63255826485400d7a2270e9c5e66111079671e7a.1670228712.git.bristot@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make osnoise_options static, as reported by the kernel test robot. Reported-by: kernel test robot Cc: Daniel Bristot de Oliveira Cc: Steven Rostedt Cc: Masami Hiramatsu Signed-off-by: Daniel Bristot de Oliveira --- kernel/trace/trace_osnoise.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/trace/trace_osnoise.c b/kernel/trace/trace_osnoise.c index 0ec8bb54180f..f190bd43e79c 100644 --- a/kernel/trace/trace_osnoise.c +++ b/kernel/trace/trace_osnoise.c @@ -67,8 +67,8 @@ static const char * const osnoise_options_str[OSN_MAX] = { "OSNOISE_PREEMPT_DISABLE", "OSNOISE_IRQ_DISABLE" }; -#define OSN_DEFAULT_OPTIONS 0x2 -unsigned long osnoise_options = OSN_DEFAULT_OPTIONS; +#define OSN_DEFAULT_OPTIONS 0x2 +static unsigned long osnoise_options = OSN_DEFAULT_OPTIONS; /* * trace_array of the enabled osnoise/timerlat instances. -- 2.32.0