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]
Message-ID: <202407010821.FKOCMzX6-lkp@intel.com>
Date: Mon, 1 Jul 2024 09:08:03 +0800
From: kernel test robot <lkp@...el.com>
To: Théo Lebrun <theo.lebrun@...tlin.com>,
	Linus Walleij <linus.walleij@...aro.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-gpio@...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 2/2] pinctrl: eyeq5: add platform 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-pinctrl-mobileye-eyeq5-pinctrl-add-bindings/20240630-070720
base:   f2661062f16b2de5d7b6a5c42a9a5c96326b8454
patch link:    https://lore.kernel.org/r/20240628-mbly-pinctrl-v1-2-c878192d6b0a%40bootlin.com
patch subject: [PATCH 2/2] pinctrl: eyeq5: add platform driver
config: arm-randconfig-r122-20240701
compiler: arm-linux-gnueabi-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/202407010821.FKOCMzX6-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/pinctrl/pinctrl-eyeq5.c:545:21: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void [noderef] __iomem *base @@     got void * @@
   drivers/pinctrl/pinctrl-eyeq5.c:545:21: sparse:     expected void [noderef] __iomem *base
   drivers/pinctrl/pinctrl-eyeq5.c:545:21: sparse:     got void *

vim +545 drivers/pinctrl/pinctrl-eyeq5.c

   532	
   533	static int eq5p_probe(struct auxiliary_device *adev,
   534			      const struct auxiliary_device_id *id)
   535	{
   536		struct device *dev = &adev->dev;
   537		struct pinctrl_dev *pctldev;
   538		struct eq5p_pinctrl *pctrl;
   539		int ret;
   540	
   541		pctrl = devm_kzalloc(dev, sizeof(*pctrl), GFP_KERNEL);
   542		if (!pctrl)
   543			return -ENOMEM;
   544	
 > 545		pctrl->base = dev_get_platdata(dev);
   546		pctrl->desc.name = dev_name(dev);
   547		pctrl->desc.pins = eq5p_pins;
   548		pctrl->desc.npins = ARRAY_SIZE(eq5p_pins);
   549		pctrl->desc.pctlops = &eq5p_pinctrl_ops;
   550		pctrl->desc.pmxops = &eq5p_pinmux_ops;
   551		pctrl->desc.confops = &eq5p_pinconf_ops;
   552		pctrl->desc.owner = THIS_MODULE;
   553	
   554		ret = devm_pinctrl_register_and_init(dev, &pctrl->desc, pctrl, &pctldev);
   555		if (ret)
   556			return dev_err_probe(dev, ret, "failed registering pinctrl device\n");
   557	
   558		ret = pinctrl_enable(pctldev);
   559		if (ret)
   560			return dev_err_probe(dev, ret, "failed enabling pinctrl device\n");
   561	
   562		return 0;
   563	}
   564	

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ