From: kernel test robot <lkp@intel.com>
To: "Guangshuo Li" <lgs201920130244@gmail.com>,
"Matthew Brost" <matthew.brost@intel.com>,
"Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
"Rodrigo Vivi" <rodrigo.vivi@intel.com>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Michal Wajdeczko" <michal.wajdeczko@intel.com>,
"Michał Winiarski" <michal.winiarski@intel.com>,
intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, Guangshuo Li <lgs201920130244@gmail.com>
Subject: Re: [PATCH] drm/xe/pf: clear pending packet on header init failure
Date: Wed, 5 Aug 2026 14:03:16 +0800 [thread overview]
Message-ID: <202608051326.aRuRqBCC-lkp@intel.com> (raw)
In-Reply-To: <20260708071502.722393-1-lgs201920130244@gmail.com>
Hi Guangshuo,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-xe/drm-xe-next]
[also build test ERROR on linus/master v7.2-rc6 next-20260804]
[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/Guangshuo-Li/drm-xe-pf-clear-pending-packet-on-header-init-failure/20260805-104621
base: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
patch link: https://lore.kernel.org/r/20260708071502.722393-1-lgs201920130244%40gmail.com
patch subject: [PATCH] drm/xe/pf: clear pending packet on header init failure
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20260805/202608051326.aRuRqBCC-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260805/202608051326.aRuRqBCC-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/202608051326.aRuRqBCC-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
drivers/gpu/drm/xe/xe_sriov_packet.c: In function 'xe_sriov_packet_write_single':
>> drivers/gpu/drm/xe/xe_sriov_packet.c:350:17: error: unknown type name 'rturn'
350 | rturn copied;
| ^~~~~
>> drivers/gpu/drm/xe/xe_sriov_packet.c:350:23: warning: unused variable 'copied' [-Wunused-variable]
350 | rturn copied;
| ^~~~~~
vim +/rturn +350 drivers/gpu/drm/xe/xe_sriov_packet.c
313
314 /**
315 * xe_sriov_packet_write_single() - Write migration data to a single packet.
316 * @xe: the &xe_device
317 * @vfid: the VF identifier
318 * @buf: start address of userspace buffer
319 * @len: requested write size from userspace
320 *
321 * Return: number of bytes that has been successfully written,
322 * -errno on failure.
323 */
324 ssize_t xe_sriov_packet_write_single(struct xe_device *xe, unsigned int vfid,
325 const char __user *buf, size_t len)
326 {
327 struct xe_sriov_packet **data = pf_pick_pending(xe, vfid);
328 ssize_t copied;
329 bool writing_hdr;
330 int ret;
331
332 if (IS_ERR_OR_NULL(*data)) {
333 *data = xe_sriov_packet_alloc(xe);
334 if (!*data)
335 return -ENOMEM;
336 }
337
338 writing_hdr = (*data)->hdr_remaining;
339 if (writing_hdr)
340 copied = pkt_hdr_write(*data, buf, len);
341 else
342 copied = pkt_data_write(*data, buf, len);
343
344 if (copied < 0) {
345 if (writing_hdr && !(*data)->hdr_remaining) {
346 kfree(*data);
347 *data = NULL;
348 }
349
> 350 rturn copied;
351 }
352
353 if ((*data)->hdr_remaining == 0 && (*data)->remaining == 0) {
354 ret = xe_sriov_pf_migration_restore_produce(xe, vfid, *data);
355 if (ret) {
356 xe_sriov_packet_free(*data);
357 *data = NULL;
358
359 return ret;
360 }
361
362 *data = NULL;
363 }
364
365 return copied;
366 }
367
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-08-05 6:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-08 7:15 [PATCH] drm/xe/pf: clear pending packet on header init failure Guangshuo Li
2026-07-08 7:37 ` sashiko-bot
2026-07-08 13:50 ` ✗ LGCI.VerificationFailed: failure for " Patchwork
2026-08-05 6:03 ` kernel test robot [this message]
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=202608051326.aRuRqBCC-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=lgs201920130244@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.brost@intel.com \
--cc=michal.wajdeczko@intel.com \
--cc=michal.winiarski@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rodrigo.vivi@intel.com \
--cc=simona@ffwll.ch \
--cc=thomas.hellstrom@linux.intel.com \
/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.