From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
Bard Liao <yung-chuan.liao@linux.intel.com>,
Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Subject: [thesofproject:topic/sof-dev 10/13] sound/soc/sof/sof-client-fw-gdb.c:365:22: sparse: sparse: invalid assignment: |=
Date: Sun, 14 Jun 2026 09:12:41 +0800 [thread overview]
Message-ID: <202606140919.YdfuclV9-lkp@intel.com> (raw)
tree: https://github.com/thesofproject/linux topic/sof-dev
head: f6602b847ffbd29afc5f74bd2ab40aa002893b03
commit: 7a79ba9a0865c9efc5f5db3f5182ac445db67954 [10/13] ASoC: SOF: sof-client: expose Zephyr GDB stub
config: microblaze-randconfig-r111-20260614 (https://download.01.org/0day-ci/archive/20260614/202606140919.YdfuclV9-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 8.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260614/202606140919.YdfuclV9-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/202606140919.YdfuclV9-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> sound/soc/sof/sof-client-fw-gdb.c:365:22: sparse: sparse: invalid assignment: |=
sound/soc/sof/sof-client-fw-gdb.c:365:22: sparse: left side has type restricted __poll_t
sound/soc/sof/sof-client-fw-gdb.c:365:22: sparse: right side has type int
sound/soc/sof/sof-client-fw-gdb.c:369:22: sparse: sparse: invalid assignment: |=
sound/soc/sof/sof-client-fw-gdb.c:369:22: sparse: left side has type restricted __poll_t
sound/soc/sof/sof-client-fw-gdb.c:369:22: sparse: right side has type int
vim +365 sound/soc/sof/sof-client-fw-gdb.c
351
352 static __poll_t sof_fw_gdb_dfs_poll(struct file *file, struct poll_table_struct *wait)
353 {
354 struct sof_client_dev *cdev = file->private_data;
355 struct sof_fw_gdb_priv *priv = cdev->data;
356 __poll_t mask = 0;
357
358 mutex_lock(&priv->mutex);
359 u32 head, tail;
360
361 poll_wait(file, &priv->rxq, wait);
362 poll_wait(file, &priv->txq, wait);
363
364 if (sof_fw_gdb_get_rx_ptrs(cdev, &head, &tail) >= 0 && tail != head)
> 365 mask |= POLLIN | POLLRDNORM;
366 /* readable */
367
368 if (sof_fw_gdb_get_tx_ptrs(cdev, &head, &tail) >= 0 && (head + 1) % RING_SIZE != tail)
369 mask |= POLLOUT | POLLWRNORM;
370 /* writable */
371
372 mutex_unlock(&priv->mutex);
373
374 return mask;
375 }
376
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-06-14 1:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-14 1:12 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-12-23 5:29 [thesofproject:topic/sof-dev 10/13] sound/soc/sof/sof-client-fw-gdb.c:365:22: sparse: sparse: invalid assignment: |= kernel test robot
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=202606140919.YdfuclV9-lkp@intel.com \
--to=lkp@intel.com \
--cc=guennadi.liakhovetski@linux.intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=yung-chuan.liao@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.