From: kernel test robot <lkp@intel.com>
To: steven@liquorix.net
Cc: oe-kbuild-all@lists.linux.dev
Subject: [zen:7.2/zen-sauce 4/26] drivers/firmware/cirrus/cs_dsp.c:491:17: warning: '%s' directive argument is null
Date: Sun, 30 Aug 2026 15:48:16 +0800 [thread overview]
Message-ID: <202608301541.XDEvwalU-lkp@intel.com> (raw)
tree: https://github.com/zen-kernel/zen-kernel 7.2/zen-sauce
head: 299e73098bef8870b60c6ce830084457d222b0f5
commit: 4552ae443b368caad94ec1a5dfb1e92047dc62a6 [4/26] ZEN: Restore CONFIG_OPTIMIZE_FOR_PERFORMANCE_O3
config: m68k-randconfig-r112-20260829 (https://download.01.org/0day-ci/archive/20260830/202608301541.XDEvwalU-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 11.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260830/202608301541.XDEvwalU-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/202608301541.XDEvwalU-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/firmware/cirrus/cs_dsp.c: In function 'cs_dsp_debugfs_read_controls_show':
>> drivers/firmware/cirrus/cs_dsp.c:491:17: warning: '%s' directive argument is null [-Wformat-overflow=]
491 | seq_printf(s, "%22.*s: %#8x %s:%08x %#8x %s %#8x %#4x %c%c%c%c %s %s\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
492 | ctl->subname_len, ctl->subname, ctl->len,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
493 | cs_dsp_mem_region_name(ctl->alg_region.type),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
494 | ctl->offset, reg, ctl->fw_name, ctl->alg_region.alg, ctl->type,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
495 | ctl->flags & WMFW_CTL_FLAG_VOLATILE ? 'V' : '-',
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
496 | ctl->flags & WMFW_CTL_FLAG_SYS ? 'S' : '-',
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
497 | ctl->flags & WMFW_CTL_FLAG_READABLE ? 'R' : '-',
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
498 | ctl->flags & WMFW_CTL_FLAG_WRITEABLE ? 'W' : '-',
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
499 | ctl->enabled ? "enabled" : "disabled",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
500 | ctl->set ? "dirty" : "clean");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +491 drivers/firmware/cirrus/cs_dsp.c
f6bc909e7673c30 Simon Trimmer 2021-09-13 477
7a3f924cee4bdfe Simon Trimmer 2023-03-28 478 static int cs_dsp_coeff_base_reg(struct cs_dsp_coeff_ctl *ctl, unsigned int *reg,
7a3f924cee4bdfe Simon Trimmer 2023-03-28 479 unsigned int off);
7a3f924cee4bdfe Simon Trimmer 2023-03-28 480
7a3f924cee4bdfe Simon Trimmer 2023-03-28 481 static int cs_dsp_debugfs_read_controls_show(struct seq_file *s, void *ignored)
7a3f924cee4bdfe Simon Trimmer 2023-03-28 482 {
7a3f924cee4bdfe Simon Trimmer 2023-03-28 483 struct cs_dsp *dsp = s->private;
7a3f924cee4bdfe Simon Trimmer 2023-03-28 484 struct cs_dsp_coeff_ctl *ctl;
7a3f924cee4bdfe Simon Trimmer 2023-03-28 485 unsigned int reg;
7a3f924cee4bdfe Simon Trimmer 2023-03-28 486
ed6e90cb9fe53ab Richard Fitzgerald 2025-11-27 487 guard(mutex)(&dsp->pwr_lock);
ed6e90cb9fe53ab Richard Fitzgerald 2025-11-27 488
7a3f924cee4bdfe Simon Trimmer 2023-03-28 489 list_for_each_entry(ctl, &dsp->ctl_list, list) {
7a3f924cee4bdfe Simon Trimmer 2023-03-28 490 cs_dsp_coeff_base_reg(ctl, ®, 0);
7584edf15892e29 Richard Fitzgerald 2025-11-24 @491 seq_printf(s, "%22.*s: %#8x %s:%08x %#8x %s %#8x %#4x %c%c%c%c %s %s\n",
7a3f924cee4bdfe Simon Trimmer 2023-03-28 492 ctl->subname_len, ctl->subname, ctl->len,
7a3f924cee4bdfe Simon Trimmer 2023-03-28 493 cs_dsp_mem_region_name(ctl->alg_region.type),
7a3f924cee4bdfe Simon Trimmer 2023-03-28 494 ctl->offset, reg, ctl->fw_name, ctl->alg_region.alg, ctl->type,
7a3f924cee4bdfe Simon Trimmer 2023-03-28 495 ctl->flags & WMFW_CTL_FLAG_VOLATILE ? 'V' : '-',
7a3f924cee4bdfe Simon Trimmer 2023-03-28 496 ctl->flags & WMFW_CTL_FLAG_SYS ? 'S' : '-',
7a3f924cee4bdfe Simon Trimmer 2023-03-28 497 ctl->flags & WMFW_CTL_FLAG_READABLE ? 'R' : '-',
7a3f924cee4bdfe Simon Trimmer 2023-03-28 498 ctl->flags & WMFW_CTL_FLAG_WRITEABLE ? 'W' : '-',
7a3f924cee4bdfe Simon Trimmer 2023-03-28 499 ctl->enabled ? "enabled" : "disabled",
7a3f924cee4bdfe Simon Trimmer 2023-03-28 500 ctl->set ? "dirty" : "clean");
7a3f924cee4bdfe Simon Trimmer 2023-03-28 501 }
7a3f924cee4bdfe Simon Trimmer 2023-03-28 502
7a3f924cee4bdfe Simon Trimmer 2023-03-28 503 return 0;
7a3f924cee4bdfe Simon Trimmer 2023-03-28 504 }
7a3f924cee4bdfe Simon Trimmer 2023-03-28 505 DEFINE_SHOW_ATTRIBUTE(cs_dsp_debugfs_read_controls);
7a3f924cee4bdfe Simon Trimmer 2023-03-28 506
:::::: The code at line 491 was first introduced by commit
:::::: 7584edf15892e29190b2145294cc1680aa142586 firmware: cs_dsp: Store control length as 32-bit
:::::: TO: Richard Fitzgerald <rf@opensource.cirrus.com>
:::::: CC: Mark Brown <broonie@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-08-30 7:49 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=202608301541.XDEvwalU-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=steven@liquorix.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.