* [thesofproject:topic/sof-dev 10/13] sound/soc/sof/sof-client-fw-gdb.c:365:22: sparse: sparse: invalid assignment: |=
@ 2026-06-14 1:12 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-06-14 1:12 UTC (permalink / raw)
Cc: oe-kbuild-all, Bard Liao, Guennadi Liakhovetski
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
^ permalink raw reply [flat|nested] 2+ messages in thread* [thesofproject:topic/sof-dev 10/13] sound/soc/sof/sof-client-fw-gdb.c:365:22: sparse: sparse: invalid assignment: |=
@ 2025-12-23 5:29 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2025-12-23 5:29 UTC (permalink / raw)
To: Noah Klayman; +Cc: oe-kbuild-all, Bard Liao, Guennadi Liakhovetski
tree: https://github.com/thesofproject/linux topic/sof-dev
head: e00fe1471431b89ac2b01eb02ba235375d8ff9e0
commit: 7a79ba9a0865c9efc5f5db3f5182ac445db67954 [10/13] ASoC: SOF: sof-client: expose Zephyr GDB stub
config: arm-randconfig-r133-20251223 (https://download.01.org/0day-ci/archive/20251223/202512231336.J0UuYrta-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 185f5fd5ce4c65116ca8cf6df467a682ef090499)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251223/202512231336.J0UuYrta-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/202512231336.J0UuYrta-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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-14 1:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-14 1:12 [thesofproject:topic/sof-dev 10/13] sound/soc/sof/sof-client-fw-gdb.c:365:22: sparse: sparse: invalid assignment: |= kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2025-12-23 5:29 kernel test robot
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.