From patchwork Mon Dec 5 08:27:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Bristot de Oliveira X-Patchwork-Id: 29597 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2131619wrr; Mon, 5 Dec 2022 00:36:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf7BhVo7z4XIinFCQQW+CDc/slBJhmim/gCZxpQOcSTJfCzYAJTbbCdfTwZ8DN2x4UB5rRZM X-Received: by 2002:a17:903:2350:b0:189:8ea3:7455 with SMTP id c16-20020a170903235000b001898ea37455mr35770140plh.19.1670229416656; Mon, 05 Dec 2022 00:36:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670229416; cv=none; d=google.com; s=arc-20160816; b=dXbFwZMygVSKHzrR4qhAA+oqshPfUH4k9EK+tJ8mbky8Tc2bx3ot5LWfMPxu5fqLG/ YJ0egxbc+pKAenhJcUpu8lnsBWd8dIgP4p/D+km05a9w1B0JuJrWI8so3cs6ARiLztth AExwLJPvvpKfmqfHlR7qQoYQ2gTgHF+s0fUwMWCZrR9WwrqqaqbOmzEf5XrG+qVUOakm JwDQVUp37a9lpW4Q0oKF1TKeUeUmSx+hIV+a/hXuXlCoz8rCZ7VKfyI6BNv+pqSwYVJe lU28NbsZlmrKlOrIwS3Do+T0Y3LIWQPC2rBINi77p6VCqX92iG68dL1ySdkQlWfuNqzk ANGw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c15-20020a170902d48f00b00186892f9f29si15333689plg.488.2022.12.05.00.36.43; Mon, 05 Dec 2022 00:36:56 -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 + 99 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751362480922553191?= X-GMAIL-MSGID: =?utf-8?q?1751362480922553191?= 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.