lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202601240733.dRK7iaPT-lkp@intel.com>
Date: Sat, 24 Jan 2026 07:32:44 +0800
From: kernel test robot <lkp@...el.com>
To: Maciej Strozek <mstrozek@...nsource.cirrus.com>,
	Mark Brown <broonie@...nel.org>, Takashi Iwai <tiwai@...e.com>,
	Lee Jones <lee@...nel.org>, Krzysztof Kozlowski <krzk@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, Jaroslav Kysela <perex@...ex.cz>,
	Bard Liao <yung-chuan.liao@...ux.intel.com>,
	Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>,
	linux-kernel@...r.kernel.org, linux-sound@...r.kernel.org,
	patches@...nsource.cirrus.com, devicetree@...r.kernel.org,
	Maciej Strozek <mstrozek@...nsource.cirrus.com>
Subject: Re: [PATCH v3 3/4] mfd: cs42l43: Add support for the B variant

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: s390-randconfig-r072-20260124 (https://download.01.org/0day-ci/archive/20260124/202601240733.dRK7iaPT-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 9.5.0
smatch version: v0.5.0-8994-gd50c5a4c
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260124/202601240733.dRK7iaPT-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601240733.dRK7iaPT-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/mfd/cs42l43-i2c.c: In function 'cs42l43_i2c_probe':
>> drivers/mfd/cs42l43-i2c.c:50:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      50 |  cs42l43->variant_id = (int)device_get_match_data(cs42l43->dev);
         |                        ^


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ