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=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gnuweeb.org (Postfix) with ESMTPS id 451CA80908 for ; Fri, 16 Sep 2022 22:25:47 +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=LuatGiQX; 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=1663367147; x=1694903147; h=date:from:to:cc:subject:message-id:mime-version; bh=Yejp156wHPZ1DyJQ6YUZ0idPBguoZAnqVQztQcl8XFo=; b=LuatGiQX20UVNmpMvAvMA2VhcV8GPgZWj5xDOa7dkgLao8sCDmrYqWtq 648rQh5rAYFxDR5XYt5m2kKdbLHACFBSFOgof9SIAKEXAdMYXRGOJR/Bc HNNcE7PnzmODTz0rDCeKZvOQzrFO1GMR++KcJiSqj3Xhrcyili1Dm/kai kesPEQ4dDHLPHqK11yQDGi/rJI3QJENw/yhpgksFDmZzcYXD5S+y3YoVS TwuZ69h5IZiUY1nOwzOoyna4Y2mBXDJ18egD4tQfpYs02OBw9BuSP9Ruu UE+T6W3spNrK5Wx+DLWXgZRXKimign4Wvj+yFayka/dIJUspQW3Vb99Fx w==; X-IronPort-AV: E=McAfee;i="6500,9779,10472"; a="282117815" X-IronPort-AV: E=Sophos;i="5.93,321,1654585200"; d="scan'208";a="282117815" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2022 15:25:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,321,1654585200"; d="scan'208";a="568981574" Received: from lkp-server02.sh.intel.com (HELO 41300c7200ea) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 16 Sep 2022 15:25:45 -0700 Received: from kbuild by 41300c7200ea with local (Exim 4.96) (envelope-from ) id 1oZJmK-0002CP-31; Fri, 16 Sep 2022 22:25:44 +0000 Date: Sat, 17 Sep 2022 06:25:01 +0800 From: kernel test robot To: Ammar Faizi , GNU/Weeb Mailing List Cc: kbuild-all@lists.01.org Subject: [ammarfaizi2-block:google/android/kernel/common/android12-kiwi-5.10 242/9999] kernel/sched/fair.c:4424:6: warning: no previous prototype for 'set_next_entity' Message-ID: <202209170612.gIZKmLog-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: Hi lijianzhong, FYI, the error/warning still remains. tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-kiwi-5.10 head: edf4da79d443f97049926ace891b5d6d235f7539 commit: 54f66141a8834e27601fe594d68a97db01bb86b6 [242/9999] ANDROID: sched: Add vendor hooks for sched. config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20220917/202209170612.gIZKmLog-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/54f66141a8834e27601fe594d68a97db01bb86b6 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-kiwi-5.10 git checkout 54f66141a8834e27601fe594d68a97db01bb86b6 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/sched/fair.c:4424:6: warning: no previous prototype for 'set_next_entity' [-Wmissing-prototypes] 4424 | void set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se) | ^~~~~~~~~~~~~~~ vim +/set_next_entity +4424 kernel/sched/fair.c 4423 > 4424 void set_next_entity(struct cfs_rq *cfs_rq, struct sched_entity *se) 4425 { 4426 /* 'current' is not kept within the tree. */ 4427 if (se->on_rq) { 4428 /* 4429 * Any task has to be enqueued before it get to execute on 4430 * a CPU. So account for the time it spent waiting on the 4431 * runqueue. 4432 */ 4433 update_stats_wait_end(cfs_rq, se); 4434 __dequeue_entity(cfs_rq, se); 4435 update_load_avg(cfs_rq, se, UPDATE_TG); 4436 } 4437 4438 update_stats_curr_start(cfs_rq, se); 4439 cfs_rq->curr = se; 4440 4441 /* 4442 * Track our maximum slice length, if the CPU's load is at 4443 * least twice that of our own weight (i.e. dont track it 4444 * when there are only lesser-weight tasks around): 4445 */ 4446 if (schedstat_enabled() && 4447 rq_of(cfs_rq)->cfs.load.weight >= 2*se->load.weight) { 4448 schedstat_set(se->statistics.slice_max, 4449 max((u64)schedstat_val(se->statistics.slice_max), 4450 se->sum_exec_runtime - se->prev_sum_exec_runtime)); 4451 } 4452 4453 se->prev_sum_exec_runtime = se->sum_exec_runtime; 4454 } 4455 EXPORT_SYMBOL_GPL(set_next_entity); 4456 4457 -- 0-DAY CI Kernel Test Service https://01.org/lkp