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: <201703030458.2NKvFS9L%fengguang.wu@intel.com>
Date:   Fri, 3 Mar 2017 04:28:22 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Luis Oliveira <Luis.Oliveira@...opsys.com>
Cc:     kbuild-all@...org, wsa@...-dreams.de, robh+dt@...nel.org,
        mark.rutland@....com, jarkko.nikula@...ux.intel.com,
        andriy.shevchenko@...ux.intel.com, mika.westerberg@...ux.intel.com,
        linux-i2c@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, Luis.Oliveira@...opsys.com,
        Ramiro.Oliveira@...opsys.com, Joao.Pinto@...opsys.com,
        CARLOS.PALMINHA@...opsys.com
Subject: Re: [RESEND PATCH v6 3/6] i2c: designware: MASTER mode as separated
 driver

Hi Luis,

[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on next-20170302]
[cannot apply to v4.10]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Luis-Oliveira/i2c-designware-add-I2C-SLAVE-support/20170303-034755
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
config: x86_64-randconfig-x016-201709 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/i2c/busses/i2c-designware-platdrv.c: In function 'dw_i2c_plat_suspend':
>> drivers/i2c/busses/i2c-designware-platdrv.c:350:5: error: 'struct device' has no member named 'disable'
     dev->disable(i_dev);
        ^~
   drivers/i2c/busses/i2c-designware-platdrv.c: In function 'dw_i2c_plat_resume':
>> drivers/i2c/busses/i2c-designware-platdrv.c:364:6: error: 'struct device' has no member named 'init'
      dev->init(i_dev);
         ^~

vim +350 drivers/i2c/busses/i2c-designware-platdrv.c

   344	#ifdef CONFIG_PM
   345	static int dw_i2c_plat_suspend(struct device *dev)
   346	{
   347		struct platform_device *pdev = to_platform_device(dev);
   348		struct dw_i2c_dev *i_dev = platform_get_drvdata(pdev);
   349	
 > 350		dev->disable(i_dev);
   351		i2c_dw_plat_prepare_clk(i_dev, false);
   352	
   353		return 0;
   354	}
   355	
   356	static int dw_i2c_plat_resume(struct device *dev)
   357	{
   358		struct platform_device *pdev = to_platform_device(dev);
   359		struct dw_i2c_dev *i_dev = platform_get_drvdata(pdev);
   360	
   361		i2c_dw_plat_prepare_clk(i_dev, true);
   362	
   363		if (!i_dev->pm_runtime_disabled)
 > 364			dev->init(i_dev);
   365	
   366		return 0;
   367	}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (28049 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ