llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Re: [RFC PATCH] drm: Add support for io_uring's uring_cmd in DRM/accel
       [not found] <20250606180806.2193463-1-zachary.mckevitt@oss.qualcomm.com>
@ 2025-06-07  3:52 ` kernel test robot
  2025-06-07  6:18 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-06-07  3:52 UTC (permalink / raw)
  To: Zack McKevitt; +Cc: llvm, oe-kbuild-all

Hi Zack,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-exynos/exynos-drm-next]
[also build test WARNING on linus/master v6.15 next-20250606]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Zack-McKevitt/drm-Add-support-for-io_uring-s-uring_cmd-in-DRM-accel/20250607-021118
base:   https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git exynos-drm-next
patch link:    https://lore.kernel.org/r/20250606180806.2193463-1-zachary.mckevitt%40oss.qualcomm.com
patch subject: [RFC PATCH] drm: Add support for io_uring's uring_cmd in DRM/accel
config: x86_64-buildonly-randconfig-001-20250607 (https://download.01.org/0day-ci/archive/20250607/202506071127.wjaerC3q-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250607/202506071127.wjaerC3q-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/202506071127.wjaerC3q-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/drm_ioctl.c:958:3: warning: label followed by a declaration is a C23 extension [-Wc23-extensions]
     958 |                 const struct drm_uring_cmd_ioctl *drm_cmd = io_uring_sqe_cmd(cmd->sqe);
         |                 ^
   1 warning generated.


vim +958 drivers/gpu/drm/drm_ioctl.c

   940	
   941	/**
   942	 * drm_uring_cmd - Implement uring_cmd callback for io_uring
   943	 * @cmd: pointer to io_uring_cmd struct
   944	 * @issue_flags: flags specified by io_uring's issue implementation
   945	 *
   946	 * This function implements the uring_cmd file operation to incorporate
   947	 * arbitrary io_uring functionality for drm. Currently, it acts as a way
   948	 * for io_uring to issue ioctls to a drm device, so this function
   949	 * dispatches ioctls to the standard drm ioctl interface.
   950	 *
   951	 * Returns:
   952	 * Zero on success, negative error code on failure.
   953	 */
   954	int drm_uring_cmd(struct io_uring_cmd *cmd, unsigned int issue_flags)
   955	{
   956		switch (cmd->cmd_op) {
   957		case DRM_URING_CMD_IOCTL:
 > 958			const struct drm_uring_cmd_ioctl *drm_cmd = io_uring_sqe_cmd(cmd->sqe);

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFC PATCH] drm: Add support for io_uring's uring_cmd in DRM/accel
       [not found] <20250606180806.2193463-1-zachary.mckevitt@oss.qualcomm.com>
  2025-06-07  3:52 ` [RFC PATCH] drm: Add support for io_uring's uring_cmd in DRM/accel kernel test robot
@ 2025-06-07  6:18 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-06-07  6:18 UTC (permalink / raw)
  To: Zack McKevitt; +Cc: llvm, oe-kbuild-all

Hi Zack,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on drm-exynos/exynos-drm-next]
[also build test ERROR on linus/master v6.15 next-20250606]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Zack-McKevitt/drm-Add-support-for-io_uring-s-uring_cmd-in-DRM-accel/20250607-021118
base:   https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git exynos-drm-next
patch link:    https://lore.kernel.org/r/20250606180806.2193463-1-zachary.mckevitt%40oss.qualcomm.com
patch subject: [RFC PATCH] drm: Add support for io_uring's uring_cmd in DRM/accel
config: riscv-randconfig-002-20250607 (https://download.01.org/0day-ci/archive/20250607/202506071421.2BsXneKu-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250607/202506071421.2BsXneKu-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/202506071421.2BsXneKu-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/drm_ioctl.c:958:3: error: expected expression
                   const struct drm_uring_cmd_ioctl *drm_cmd = io_uring_sqe_cmd(cmd->sqe);
                   ^
>> drivers/gpu/drm/drm_ioctl.c:959:28: error: use of undeclared identifier 'drm_cmd'
                   unsigned int ioctl_cmd = drm_cmd->ioctl_cmd;
                                            ^
   drivers/gpu/drm/drm_ioctl.c:960:29: error: use of undeclared identifier 'drm_cmd'
                   unsigned long ioctl_arg = drm_cmd->arg;
                                             ^
   3 errors generated.


vim +958 drivers/gpu/drm/drm_ioctl.c

   940	
   941	/**
   942	 * drm_uring_cmd - Implement uring_cmd callback for io_uring
   943	 * @cmd: pointer to io_uring_cmd struct
   944	 * @issue_flags: flags specified by io_uring's issue implementation
   945	 *
   946	 * This function implements the uring_cmd file operation to incorporate
   947	 * arbitrary io_uring functionality for drm. Currently, it acts as a way
   948	 * for io_uring to issue ioctls to a drm device, so this function
   949	 * dispatches ioctls to the standard drm ioctl interface.
   950	 *
   951	 * Returns:
   952	 * Zero on success, negative error code on failure.
   953	 */
   954	int drm_uring_cmd(struct io_uring_cmd *cmd, unsigned int issue_flags)
   955	{
   956		switch (cmd->cmd_op) {
   957		case DRM_URING_CMD_IOCTL:
 > 958			const struct drm_uring_cmd_ioctl *drm_cmd = io_uring_sqe_cmd(cmd->sqe);
 > 959			unsigned int ioctl_cmd = drm_cmd->ioctl_cmd;

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-07  6:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250606180806.2193463-1-zachary.mckevitt@oss.qualcomm.com>
2025-06-07  3:52 ` [RFC PATCH] drm: Add support for io_uring's uring_cmd in DRM/accel kernel test robot
2025-06-07  6:18 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).