From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54A9BFBE6 for ; Mon, 11 Sep 2023 15:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1694446344; x=1725982344; h=date:from:to:cc:subject:message-id:mime-version: content-transfer-encoding; bh=3INpuqFv6Nf0RI0BKSokgQC3jf5Kgn+0u3G7TKtjRns=; b=kv7FS+a8VKpEIbfT3pKDmd5mh1HRcPDTA+/MVMZVFXnrBs3/CvM7ESAb GEs+CTJ9Jxxf9A/dJUUALMoBZAWRz22WNLpIaT8rqOiIt55BpZN40P00E 1dTUoo/YcmjA9xCt3sXIytFKA57gNSJXzmin0KXqWMcrlaAg2H5oLkrDn kxhpvNjwN1aqqEMOIYwQcXONKtUFTdr7yYq5Ro+yvCR84WMQs5+zwpXRj 8tFLgSju7Eos+iDlpwTJf8f9d4mpPbynRAJB0Mi/IT6nIzSnoD3NlG2Mo Lv/1S68RT2epMLAB9cXryJ35XcETu2j0Nm9+uKv9hKaIy4TFz3tpHYRRv w==; X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="375463274" X-IronPort-AV: E=Sophos;i="6.02,244,1688454000"; d="scan'208";a="375463274" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Sep 2023 08:32:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10830"; a="772624342" X-IronPort-AV: E=Sophos;i="6.02,244,1688454000"; d="scan'208";a="772624342" Received: from lkp-server01.sh.intel.com (HELO 59b3c6e06877) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 11 Sep 2023 08:32:18 -0700 Received: from kbuild by 59b3c6e06877 with local (Exim 4.96) (envelope-from ) id 1qfitc-0006Ot-2H; Mon, 11 Sep 2023 15:32:16 +0000 Date: Mon, 11 Sep 2023 23:31:48 +0800 From: kernel test robot To: Christian =?iso-8859-1?Q?K=F6nig?= Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Luben Tuikov Subject: drivers/gpu/drm/scheduler/sched_main.c:266: warning: Function parameter or member 'result' not described in 'drm_sched_job_done' Message-ID: <202309112358.oib7Qb2x-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d commit: 539f9ee4b52a8bec95ff064e22dd2fb1e258e818 drm/scheduler: properly forward fence errors date: 5 months ago config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230911/202309112358.oib7Qb2x-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230911/202309112358.oib7Qb2x-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/202309112358.oib7Qb2x-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/scheduler/sched_main.c:266: warning: Function parameter or member 'result' not described in 'drm_sched_job_done' vim +266 drivers/gpu/drm/scheduler/sched_main.c 08fb97de03aa22 Andrey Grodzovsky 2022-09-30 258 71173e787cab9d Luben Tuikov 2020-12-03 259 /** 71173e787cab9d Luben Tuikov 2020-12-03 260 * drm_sched_job_done - complete a job 71173e787cab9d Luben Tuikov 2020-12-03 261 * @s_job: pointer to the job which is done 71173e787cab9d Luben Tuikov 2020-12-03 262 * 71173e787cab9d Luben Tuikov 2020-12-03 263 * Finish the job's fence and wake up the worker thread. 71173e787cab9d Luben Tuikov 2020-12-03 264 */ 539f9ee4b52a8b Christian König 2023-04-17 265 static void drm_sched_job_done(struct drm_sched_job *s_job, int result) 71173e787cab9d Luben Tuikov 2020-12-03 @266 { 71173e787cab9d Luben Tuikov 2020-12-03 267 struct drm_sched_fence *s_fence = s_job->s_fence; 71173e787cab9d Luben Tuikov 2020-12-03 268 struct drm_gpu_scheduler *sched = s_fence->sched; 71173e787cab9d Luben Tuikov 2020-12-03 269 71173e787cab9d Luben Tuikov 2020-12-03 270 atomic_dec(&sched->hw_rq_count); f2f12eb9c32bc7 Christian König 2021-02-02 271 atomic_dec(sched->score); 71173e787cab9d Luben Tuikov 2020-12-03 272 71173e787cab9d Luben Tuikov 2020-12-03 273 trace_drm_sched_process_job(s_fence); 71173e787cab9d Luben Tuikov 2020-12-03 274 71173e787cab9d Luben Tuikov 2020-12-03 275 dma_fence_get(&s_fence->finished); 539f9ee4b52a8b Christian König 2023-04-17 276 drm_sched_fence_finished(s_fence, result); 71173e787cab9d Luben Tuikov 2020-12-03 277 dma_fence_put(&s_fence->finished); 71173e787cab9d Luben Tuikov 2020-12-03 278 wake_up_interruptible(&sched->wake_up_worker); 71173e787cab9d Luben Tuikov 2020-12-03 279 } 71173e787cab9d Luben Tuikov 2020-12-03 280 :::::: The code at line 266 was first introduced by commit :::::: 71173e787cab9db4ca1fa6229477cb3d254bc285 drm/scheduler: Essentialize the job done callback :::::: TO: Luben Tuikov :::::: CC: Christian König -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki