From: kernel test robot <lkp@intel.com>
To: Maciej Strozek <mstrozek@opensource.cirrus.com>,
Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.com>,
Lee Jones <lee@kernel.org>, Krzysztof Kozlowski <krzk@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Jaroslav Kysela <perex@perex.cz>,
Bard Liao <yung-chuan.liao@linux.intel.com>,
Peter Ujfalusi <peter.ujfalusi@linux.intel.com>,
linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org,
patches@opensource.cirrus.com, devicetree@vger.kernel.org,
Maciej Strozek <mstrozek@opensource.cirrus.com>
Subject: Re: [PATCH v3 3/4] mfd: cs42l43: Add support for the B variant
Date: Sat, 24 Jan 2026 08:05:24 +0800 [thread overview]
Message-ID: <202601240759.oXmYGyUC-lkp@intel.com> (raw)
In-Reply-To: <20260123150945.100038-4-mstrozek@opensource.cirrus.com>
Hi Maciej,
kernel test robot noticed the following build warnings:
[auto build test WARNING on lee-mfd/for-mfd-next]
[also build test WARNING on lee-mfd/for-mfd-fixes broonie-sound/for-next lee-leds/for-leds-next linus/master v6.19-rc6 next-20260122]
[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/Maciej-Strozek/ASoC-sdw_utils-Add-CS42L43B-codec-info/20260123-233105
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
patch link: https://lore.kernel.org/r/20260123150945.100038-4-mstrozek%40opensource.cirrus.com
patch subject: [PATCH v3 3/4] mfd: cs42l43: Add support for the B variant
config: x86_64-randconfig-003-20260124 (https://download.01.org/0day-ci/archive/20260124/202601240759.oXmYGyUC-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260124/202601240759.oXmYGyUC-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/202601240759.oXmYGyUC-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/mfd/cs42l43-i2c.c:50:24: warning: cast to smaller integer type 'int' from 'const void *' [-Wvoid-pointer-to-int-cast]
50 | cs42l43->variant_id = (int)device_get_match_data(cs42l43->dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
vim +50 drivers/mfd/cs42l43-i2c.c
37
38 static int cs42l43_i2c_probe(struct i2c_client *i2c)
39 {
40 struct cs42l43 *cs42l43;
41
42 cs42l43 = devm_kzalloc(&i2c->dev, sizeof(*cs42l43), GFP_KERNEL);
43 if (!cs42l43)
44 return -ENOMEM;
45
46 cs42l43->dev = &i2c->dev;
47 cs42l43->irq = i2c->irq;
48 /* A device on an I2C is always attached by definition. */
49 cs42l43->attached = true;
> 50 cs42l43->variant_id = (int)device_get_match_data(cs42l43->dev);
51
52 cs42l43->regmap = devm_regmap_init_i2c(i2c, &cs42l43_i2c_regmap);
53 if (IS_ERR(cs42l43->regmap))
54 return dev_err_probe(cs42l43->dev, PTR_ERR(cs42l43->regmap),
55 "Failed to allocate regmap\n");
56
57 return cs42l43_dev_probe(cs42l43);
58 }
59
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-01-24 0:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-23 15:09 [PATCH v3 0/4] Add support for CS42L43B codec to CS42L43 driver Maciej Strozek
2026-01-23 15:09 ` [PATCH v3 1/4] ASoC: sdw_utils: Add CS42L43B codec info Maciej Strozek
2026-01-23 15:09 ` [PATCH v3 2/4] ASoC: dt-bindings: cirrus,cs42l43: Add CS42L43B variant Maciej Strozek
2026-01-23 15:09 ` [PATCH v3 3/4] mfd: cs42l43: Add support for the B variant Maciej Strozek
2026-01-23 23:32 ` kernel test robot
2026-01-24 0:05 ` kernel test robot [this message]
2026-01-23 15:09 ` [PATCH v3 4/4] ASoC: " Maciej Strozek
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=202601240759.oXmYGyUC-lkp@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mstrozek@opensource.cirrus.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=patches@opensource.cirrus.com \
--cc=perex@perex.cz \
--cc=peter.ujfalusi@linux.intel.com \
--cc=tiwai@suse.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox