From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android16-6.12-desktop 1/1] sound/soc/codecs/rt-sdw-common.c:87: warning: Function parameter or struct member 'val' not described in 'rt_sdca_index_update_bits'
Date: Thu, 13 Aug 2026 02:21:19 +0800 [thread overview]
Message-ID: <202608130256.dUbLEbni-lkp@intel.com> (raw)
Hi Jack,
First bad commit (maybe != root cause):
tree: https://android.googlesource.com/kernel/common android16-6.12-desktop
head: 24c37396da197463e1ff2bc69bb789e34dacad53
commit: ba46a64341209fd14a19c13e35a61bca6f571812 [1/1] UPSTREAM: ASoC: rt721-sdca: Add RT721 SDCA driver
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20260813/202608130256.dUbLEbni-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260813/202608130256.dUbLEbni-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/202608130256.dUbLEbni-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> sound/soc/codecs/rt-sdw-common.c:87: warning: Function parameter or struct member 'val' not described in 'rt_sdca_index_update_bits'
>> sound/soc/codecs/rt-sdw-common.c:87: warning: Excess function parameter 'value' description in 'rt_sdca_index_update_bits'
vim +87 sound/soc/codecs/rt-sdw-common.c
cbc3cb613e4044c Jack Yu 2024-10-01 71
cbc3cb613e4044c Jack Yu 2024-10-01 72 /**
cbc3cb613e4044c Jack Yu 2024-10-01 73 * rt_sdca_index_update_bits - Update value on Realtek defined register.
cbc3cb613e4044c Jack Yu 2024-10-01 74 *
cbc3cb613e4044c Jack Yu 2024-10-01 75 * @map: map for setting.
cbc3cb613e4044c Jack Yu 2024-10-01 76 * @nid: Realtek-defined ID.
cbc3cb613e4044c Jack Yu 2024-10-01 77 * @reg: register.
cbc3cb613e4044c Jack Yu 2024-10-01 78 * @mask: Bitmask to change
cbc3cb613e4044c Jack Yu 2024-10-01 79 * @value: New value for bitmask
cbc3cb613e4044c Jack Yu 2024-10-01 80 *
cbc3cb613e4044c Jack Yu 2024-10-01 81 * A value of zero will be returned on success, a negative errno will
cbc3cb613e4044c Jack Yu 2024-10-01 82 * be returned in error cases.
cbc3cb613e4044c Jack Yu 2024-10-01 83 */
cbc3cb613e4044c Jack Yu 2024-10-01 84
cbc3cb613e4044c Jack Yu 2024-10-01 85 int rt_sdca_index_update_bits(struct regmap *map,
cbc3cb613e4044c Jack Yu 2024-10-01 86 unsigned int nid, unsigned int reg, unsigned int mask, unsigned int val)
cbc3cb613e4044c Jack Yu 2024-10-01 @87 {
cbc3cb613e4044c Jack Yu 2024-10-01 88 unsigned int tmp;
cbc3cb613e4044c Jack Yu 2024-10-01 89 int ret;
cbc3cb613e4044c Jack Yu 2024-10-01 90
cbc3cb613e4044c Jack Yu 2024-10-01 91 ret = rt_sdca_index_read(map, nid, reg, &tmp);
cbc3cb613e4044c Jack Yu 2024-10-01 92 if (ret < 0)
cbc3cb613e4044c Jack Yu 2024-10-01 93 return ret;
cbc3cb613e4044c Jack Yu 2024-10-01 94
cbc3cb613e4044c Jack Yu 2024-10-01 95 set_mask_bits(&tmp, mask, val);
cbc3cb613e4044c Jack Yu 2024-10-01 96 return rt_sdca_index_write(map, nid, reg, tmp);
cbc3cb613e4044c Jack Yu 2024-10-01 97 }
cbc3cb613e4044c Jack Yu 2024-10-01 98 EXPORT_SYMBOL_GPL(rt_sdca_index_update_bits);
cbc3cb613e4044c Jack Yu 2024-10-01 99
:::::: The code at line 87 was first introduced by commit
:::::: cbc3cb613e4044c076c6648ce0934818cba52545 UPSTREAM: ASoC: rt-sdw-common: Common functions for Realtek soundwire driver
:::::: TO: Jack Yu <jack.yu@realtek.com>
:::::: CC: Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-08-12 18:21 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=202608130256.dUbLEbni-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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.