From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gnuweeb.org (Postfix) with ESMTPS id 8319E831EE for ; Tue, 7 Mar 2023 01:18:48 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=MmarwpZp; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678151928; x=1709687928; h=date:from:to:cc:subject:message-id:mime-version; bh=6nUDV9lWe16wWOD5QiB0vavIJTLVLuliyg3OxQF3L44=; b=MmarwpZprCrKSN5bC8WzL22Y08Vu8GgzGLPxtlwvaaLK2PFWq62eC3/i tR9HoG6bKG42S21YikRJXH1cEbGSNYgZUR2hUSodgGhUo3hGh4B0U7iJf QiJ9c0o4bQldDOa0r2cB7ptKM5japqrtO+hpDUfDlgqJkyJE64jeEaC1k 2qR4Tkg+9ll7wanVDWIEzKhGcRZSoTg/bUzVQYXtvUcGBC3Yhd3h7KiyB 9sieacpMcckLaLu/IVtNk4nmh5wTU4JX6gC42/2JYe6NNT6PeEPn1awGs cvCMCiCYXfsYTQguan4nl180B2rHtHsQTwIAJjgcWLYKqBPuEeGaPPq64 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="316131227" X-IronPort-AV: E=Sophos;i="5.98,238,1673942400"; d="scan'208";a="316131227" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2023 17:18:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="708875025" X-IronPort-AV: E=Sophos;i="5.98,238,1673942400"; d="scan'208";a="708875025" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 06 Mar 2023 17:18:45 -0800 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pZLyW-0000qB-36; Tue, 07 Mar 2023 01:18:44 +0000 Date: Tue, 7 Mar 2023 09:18:32 +0800 From: kernel test robot To: "Paul E. McKenney" Cc: oe-kbuild-all@lists.linux.dev, Ammar Faizi , GNU/Weeb Mailing List Subject: [ammarfaizi2-block:paulmck/linux-rcu/dev.2023.02.27a 107/108] arch/x86/kernel/nmi.c:441:6: warning: no previous prototype for 'set_nmi_torture' Message-ID: <202303070906.VxnzlSyY-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: tree: https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev.2023.02.27a head: b171cbcbbd8e5f5f2e0638c5b5b5c77e3cc79007 commit: 80dd9f246f8a23a0fd0ed69e51dbdcb389806254 [107/108] x86/nmi: Add a set_nmi_torture() function to control NMI testing config: i386-randconfig-a004-20230306 (https://download.01.org/0day-ci/archive/20230307/202303070906.VxnzlSyY-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/80dd9f246f8a23a0fd0ed69e51dbdcb389806254 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block paulmck/linux-rcu/dev.2023.02.27a git checkout 80dd9f246f8a23a0fd0ed69e51dbdcb389806254 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 olddefconfig make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303070906.VxnzlSyY-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/x86/kernel/nmi.c:441:6: warning: no previous prototype for 'set_nmi_torture' [-Wmissing-prototypes] 441 | 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