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: <202309071531.rvllWPZ0-lkp@intel.com>
Date:   Thu, 7 Sep 2023 15:36:38 +0800
From:   kernel test robot <lkp@...el.com>
To:     advantech.susiteam@...il.com
Cc:     oe-kbuild-all@...ts.linux.dev, wenkai.chung@...antech.com.tw,
        Susi.Driver@...antech.com, Lee Jones <lee@...nel.org>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/4] mfd: eiois200: Add EIO-IS200 Series EC Core Driver

Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on lee-mfd/for-mfd-next]
[also build test WARNING on linus/master next-20230907]
[cannot apply to lee-mfd/for-mfd-fixes v6.5]
[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/advantech-susiteam-gmail-com/mfd-eiois200-Insert-EIO-IS200-core-driver-to-Kconfig/20230907-111628
base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
patch link:    https://lore.kernel.org/r/20230907031320.6814-5-advantech.susiteam%40gmail.com
patch subject: [PATCH 4/4] mfd: eiois200: Add EIO-IS200 Series EC Core Driver
config: i386-randconfig-014-20230907 (https://download.01.org/0day-ci/archive/20230907/202309071531.rvllWPZ0-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230907/202309071531.rvllWPZ0-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/202309071531.rvllWPZ0-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/mfd/eiois200_core.c:438:5: warning: no previous prototype for 'eiois200_probe' [-Wmissing-prototypes]
     438 | int eiois200_probe(struct device *dev, unsigned int id)
         |     ^~~~~~~~~~~~~~


vim +/eiois200_probe +438 drivers/mfd/eiois200_core.c

   437	
 > 438	int eiois200_probe(struct device *dev, unsigned int id)
   439	{
   440		int  ret = 0;
   441		void __iomem *iomem;
   442	
   443		iomem = devm_ioport_map(dev, 0, EIOIS200_SUB_PNP_DATA + 1);
   444		if (!iomem)
   445			return -ENOMEM;
   446	
   447		regmap_is200 = devm_regmap_init_mmio(dev, iomem, &pnp_regmap_config);
   448		if (!regmap_is200)
   449			return -ENOMEM;
   450	
   451		eiois200_dev = devm_kzalloc(dev,
   452					    sizeof(struct eiois200_dev),
   453					    GFP_KERNEL);
   454		if (!eiois200_dev)
   455			return -ENOMEM;
   456	
   457		mutex_init(&eiois200_dev->mutex);
   458	
   459		if (eiois200_exist(dev))
   460			return -ENODEV;
   461	
   462		if (firmware_code_base(dev)) {
   463			dev_err(dev, "Chip code base check fail\n");
   464			return -EIO;
   465		}
   466	
   467		dev_set_drvdata(dev, eiois200_dev);
   468	
   469		ret = devm_mfd_add_devices(dev, PLATFORM_DEVID_NONE, susi_mfd_devs,
   470					   ARRAY_SIZE(susi_mfd_devs),
   471					   NULL, 0, NULL);
   472		if (ret)
   473			dev_err(dev, "Cannot register child devices (error = %d)\n", ret);
   474	
   475		pr_info("%s started", KBUILD_MODNAME);
   476	
   477		return 0;
   478	}
   479	

-- 
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