From: kernel test robot <lkp@intel.com>
To: Tomeu Vizoso <tomeu@tomeuvizoso.net>
Cc: oe-kbuild-all@lists.linux.dev, dri-devel@lists.freedesktop.org,
Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Subject: [drm-exynos:exynos-drm-misc-next 1286/1301] drivers/accel/rocket/rocket_job.c:394:1: warning: control reaches end of non-void function
Date: Wed, 30 Jul 2025 06:15:05 +0800 [thread overview]
Message-ID: <202507300648.T4M5aAzS-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git exynos-drm-misc-next
head: 01ac6e4e53b6351df42c97d217b0d2dbeef5c917
commit: 0810d5ad88a18f1e6d549853a388ad0316f74e36 [1286/1301] accel/rocket: Add job submission IOCTL
config: um-allyesconfig (https://download.01.org/0day-ci/archive/20250730/202507300648.T4M5aAzS-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250730/202507300648.T4M5aAzS-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507300648.T4M5aAzS-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/accel/rocket/rocket_job.c: In function 'rocket_job_timedout':
drivers/accel/rocket/rocket_job.c:393:16: error: 'DRM_GPU_SCHED_STAT_NOMINAL' undeclared (first use in this function); did you mean 'DRM_GPU_SCHED_STAT_NO_HANG'?
393 | return DRM_GPU_SCHED_STAT_NOMINAL;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| DRM_GPU_SCHED_STAT_NO_HANG
drivers/accel/rocket/rocket_job.c:393:16: note: each undeclared identifier is reported only once for each function it appears in
drivers/accel/rocket/rocket_job.c: In function 'rocket_ioctl_submit_job':
drivers/accel/rocket/rocket_job.c:553:15: error: too few arguments to function 'drm_sched_job_init'
553 | ret = drm_sched_job_init(&rjob->base,
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/accel/rocket/rocket_core.h:7,
from drivers/accel/rocket/rocket_job.c:15:
include/drm/gpu_scheduler.h:655:5: note: declared here
655 | int drm_sched_job_init(struct drm_sched_job *job,
| ^~~~~~~~~~~~~~~~~~
drivers/accel/rocket/rocket_job.c: In function 'rocket_job_timedout':
>> drivers/accel/rocket/rocket_job.c:394:1: warning: control reaches end of non-void function [-Wreturn-type]
394 | }
| ^
vim +394 drivers/accel/rocket/rocket_job.c
381
382 static enum drm_gpu_sched_stat rocket_job_timedout(struct drm_sched_job *sched_job)
383 {
384 struct rocket_job *job = to_rocket_job(sched_job);
385 struct rocket_device *rdev = job->rdev;
386 struct rocket_core *core = sched_to_core(rdev, sched_job->sched);
387
388 dev_err(core->dev, "NPU job timed out");
389
390 atomic_set(&core->reset.pending, 1);
391 rocket_reset(core, sched_job);
392
393 return DRM_GPU_SCHED_STAT_NOMINAL;
> 394 }
395
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-07-29 22:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202507300648.T4M5aAzS-lkp@intel.com \
--to=lkp@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jeff.hugo@oss.qualcomm.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tomeu@tomeuvizoso.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.