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 Authentication-Results: gnuweeb.org; dmarc=pass (p=none dis=none) header.from=intel.com 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=QBz7tJeH; dkim-atps=neutral Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=192.55.52.115; helo=mga14.intel.com; envelope-from=lkp@intel.com; receiver= Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gnuweeb.org (Postfix) with ESMTPS id 33ED023EB4F for ; Wed, 31 May 2023 08:25:06 +0700 (WIB) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685496308; x=1717032308; h=date:from:to:cc:subject:message-id:mime-version; bh=x3PG05Xi0MYCOnR5T32lh9fDqacHB+/dGJjDWbGD1dM=; b=QBz7tJeHaey5qnZALP8Mujr7oaLBN727LhH+HQbJ5+IrKjW9XKtVHC90 Th5O5yx1E6XZG+8WGbH6U0ngFhdMZtfk9ijeMkxgOgnrZVndhIBup6mSc x9MwUDBw5TLLz1kbgo/AtDJlRmybffVjY0BLw8Ll3MdXaQ706wG72VI8Z QcVOZ646s7BSyhRC5RjCtkyomsgjGLV38vtqkR120HcGEAyppgumBOwI+ U5c9GrLXkA1QE19YbIGjd9iYWSyWrt5Lb5mp1VArEnEuRN+LbR3SpRZPA MKIP9MnOjxk2ft13/okEKzpDp+j+ZedGjKPb+Duu7BggwDzBhI1+7Lbqy g==; X-IronPort-AV: E=McAfee;i="6600,9927,10726"; a="355107755" X-IronPort-AV: E=Sophos;i="6.00,205,1681196400"; d="scan'208";a="355107755" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2023 18:24:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10726"; a="953399018" X-IronPort-AV: E=Sophos;i="6.00,205,1681196400"; d="scan'208";a="953399018" Received: from lkp-server01.sh.intel.com (HELO fb1ced2c09fb) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 30 May 2023 18:24:52 -0700 Received: from kbuild by fb1ced2c09fb with local (Exim 4.96) (envelope-from ) id 1q4Aa3-0000xj-2C; Wed, 31 May 2023 01:24:51 +0000 Date: Wed, 31 May 2023 09:24:17 +0800 From: kernel test robot To: Ammar Faizi Cc: oe-kbuild-all@lists.linux.dev, Ammar Faizi , GNU/Weeb Mailing List Subject: [ammarfaizi2-block:testing/af/home 3/8] kernel/workqueue.c:4421:5: warning: no previous prototype for 'set_workqueue_cpumask' Message-ID: <202305310934.bM5gW0SL-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 testing/af/home head: 51fb2efd62ae52dc061dbca301fb823357fb3f80 commit: 6436622d20b564a334e4bc0bc5019c82a592dd08 [3/8] workqueue: Add set_workqueue_cpumask() helper function config: csky-defconfig (https://download.01.org/0day-ci/archive/20230531/202305310934.bM5gW0SL-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 12.3.0 reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/ammarfaizi2/linux-block/commit/6436622d20b564a334e4bc0bc5019c82a592dd08 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block testing/af/home git checkout 6436622d20b564a334e4bc0bc5019c82a592dd08 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=csky olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=csky SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202305310934.bM5gW0SL-lkp@intel.com/ All warnings (new ones prefixed by >>): >> kernel/workqueue.c:4421:5: warning: no previous prototype for 'set_workqueue_cpumask' [-Wmissing-prototypes] 4421 | int set_workqueue_cpumask(struct workqueue_struct *wq, const cpumask_var_t mask) | ^~~~~~~~~~~~~~~~~~~~~ vim +/set_workqueue_cpumask +4421 kernel/workqueue.c 4420 > 4421 int set_workqueue_cpumask(struct workqueue_struct *wq, const cpumask_var_t mask) 4422 { 4423 struct workqueue_attrs *tmp_attrs; 4424 int ret; 4425 4426 tmp_attrs = alloc_workqueue_attrs(); 4427 if (!tmp_attrs) 4428 return -ENOMEM; 4429 4430 apply_wqattrs_lock(); 4431 copy_workqueue_attrs(tmp_attrs, wq->unbound_attrs); 4432 cpumask_copy(tmp_attrs->cpumask, mask); 4433 ret = apply_workqueue_attrs_locked(wq, tmp_attrs); 4434 apply_wqattrs_unlock(); 4435 free_workqueue_attrs(tmp_attrs); 4436 return ret; 4437 } 4438 EXPORT_SYMBOL_GPL(set_workqueue_cpumask); 4439 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki