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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E75BC4332F for ; Wed, 1 Nov 2023 20:38:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346419AbjKAUij (ORCPT ); Wed, 1 Nov 2023 16:38:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231461AbjKAUih (ORCPT ); Wed, 1 Nov 2023 16:38:37 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40844DB for ; Wed, 1 Nov 2023 13:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698871112; x=1730407112; h=date:from:to:cc:subject:message-id:mime-version; bh=4tthFbFnqa6NTVH+hLIV7ZPZqkZDb0Pgu1Bcmx4pr9c=; b=Kgx2HQs2Tu5ZATcPkk7ay8RBsTNOQ8kWM/no4BBM75voyZfgMhg+dvr4 sMS3mjEhWKmGZebzers9EGt27uBLx6DpMmxVxMiBKttPwRRqOcKZ1FQnD 0w6cmNUQbEASFuouNi0KOxGfKqUE/A8oCtNJq1OB7HUr5C/Dggq738Wih oHLlF3u+NOcLbH/iJg6dDxZpuPN8UFcyjBmLDASgz3g7HM425BN+KmjEl k1puKp7OXs0DHVGpSLfIyis1bDJN06C9P9hxCb+SlvUEVGZMdetOLB4ib CxCC7jVvYpTSQS0ywTF91Cwu+YOxF9MMm5//fTZIvaAafJDmNN+tv0pmN w==; X-IronPort-AV: E=McAfee;i="6600,9927,10881"; a="388386048" X-IronPort-AV: E=Sophos;i="6.03,269,1694761200"; d="scan'208";a="388386048" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2023 13:38:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,269,1694761200"; d="scan'208";a="2204125" Received: from lkp-server01.sh.intel.com (HELO 17d9e85e5079) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 01 Nov 2023 13:38:31 -0700 Received: from kbuild by 17d9e85e5079 with local (Exim 4.96) (envelope-from ) id 1qyHyu-0000wa-2I; Wed, 01 Nov 2023 20:38:28 +0000 Date: Thu, 2 Nov 2023 04:37:54 +0800 From: kernel test robot To: "Paul E. McKenney" Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [paulmck-rcu:dev.2023.10.31a 15/36] arch/x86/kernel/nmi.c:441:6: warning: no previous declaration for 'set_nmi_torture' Message-ID: <202311020436.slzakv5l-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2023.10.31a head: cb3ad05f321d3777c7ff86574b39f58abbf9f626 commit: 15ff657545e64ac97a69bccacc286422bc9ab0c4 [15/36] EXP x86/nmi: Add a set_nmi_torture() function to control NMI testing config: i386-defconfig (https://download.01.org/0day-ci/archive/20231102/202311020436.slzakv5l-lkp@intel.com/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231102/202311020436.slzakv5l-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202311020436.slzakv5l-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/x86/kernel/nmi.c:441:6: warning: no previous declaration for 'set_nmi_torture' [-Wmissing-declarations] void set_nmi_torture(int nmi_delay_in, bool nmi_halt1_in, bool nmi_halt2_in, bool nmi_halt3_in) ^~~~~~~~~~~~~~~ vim +/set_nmi_torture +441 arch/x86/kernel/nmi.c 439 440 /* Set the test values as desired. */ > 441 void set_nmi_torture(int nmi_delay_in, bool nmi_halt1_in, bool nmi_halt2_in, bool nmi_halt3_in) 442 { 443 WRITE_ONCE(nmi_delay, nmi_delay_in); 444 WRITE_ONCE(nmi_halt1, nmi_halt1_in); 445 WRITE_ONCE(nmi_halt2, nmi_halt2_in); 446 WRITE_ONCE(nmi_halt3, nmi_halt3_in); 447 pr_info("%s: Set NMI test parameters nmi_delay=%d nmi_halt1=%d nmi_halt2=%d nmi_halt3=%d\n", 448 __func__, nmi_delay, nmi_halt1, nmi_halt2, nmi_halt3); 449 } 450 EXPORT_SYMBOL_GPL(set_nmi_torture); 451 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki