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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 1 Jul 2024 14:12:13 +0800
From: kernel test robot <lkp@...el.com>
To: Théo Lebrun <theo.lebrun@...tlin.com>,
	Michael Turquette <mturquette@...libre.com>,
	Stephen Boyd <sboyd@...nel.org>, Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-clk@...r.kernel.org,
	devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
	Vladimir Kondratiev <vladimir.kondratiev@...ileye.com>,
	Grégory Clement <gregory.clement@...tlin.com>,
	Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
	Tawfik Bayouk <tawfik.bayouk@...ileye.com>,
	Théo Lebrun <theo.lebrun@...tlin.com>
Subject: Re: [PATCH 4/4] clk: eyeq: add driver

Hi Théo,

kernel test robot noticed the following build warnings:

[auto build test WARNING on f2661062f16b2de5d7b6a5c42a9a5c96326b8454]

url:    https://github.com/intel-lab-lkp/linux/commits/Th-o-Lebrun/Revert-dt-bindings-clock-mobileye-eyeq5-clk-add-bindings/20240630-062710
base:   f2661062f16b2de5d7b6a5c42a9a5c96326b8454
patch link:    https://lore.kernel.org/r/20240628-mbly-clk-v1-4-edb1e29ea4c1%40bootlin.com
patch subject: [PATCH 4/4] clk: eyeq: add driver
config: s390-randconfig-r112-20240701
compiler: s390-linux-gcc (GCC) 13.2.0
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/202407011308.yVElEri4-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/clk/clk-eyeq.c:335:33: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void *platform_data @@     got void [noderef] __iomem *base @@
   drivers/clk/clk-eyeq.c:335:33: sparse:     expected void *platform_data
   drivers/clk/clk-eyeq.c:335:33: sparse:     got void [noderef] __iomem *base
   drivers/clk/clk-eyeq.c: note: in included file (through include/linux/smp.h, include/linux/lockdep.h, include/linux/spinlock.h, ...):
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true

vim +335 drivers/clk/clk-eyeq.c

   322	
   323	static int eqc_auxdev_create(struct device *dev, void __iomem *base,
   324				     const char *name, u32 id)
   325	{
   326		struct auxiliary_device *adev;
   327		int ret;
   328	
   329		adev = kzalloc(sizeof(*adev), GFP_KERNEL);
   330		if (!adev)
   331			return -ENOMEM;
   332	
   333		adev->name = name;
   334		adev->dev.parent = dev;
 > 335		adev->dev.platform_data = base;
   336		adev->dev.release = eqc_auxdev_release;
   337		adev->id = id;
   338	
   339		ret = auxiliary_device_init(adev);
   340		if (ret)
   341			return ret;
   342	
   343		ret = auxiliary_device_add(adev);
   344		if (ret) {
   345			auxiliary_device_uninit(adev);
   346			return ret;
   347		}
   348	
   349		return devm_add_action_or_reset(dev, eqc_auxdev_unregister, adev);
   350	}
   351	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

View attachment "reproduce" of type "text/plain" (1065 bytes)

View attachment "config" of type "text/plain" (178728 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ