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: <201606171942.RoI92C2Q%fengguang.wu@intel.com>
Date:	Fri, 17 Jun 2016 19:11:04 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Neil Armstrong <narmstrong@...libre.com>
Cc:	kbuild-all@...org, Linus Walleij <linus.walleij@...aro.org>,
	Alexandre Courbot <gnurou@...il.com>,
	Neil Armstrong <narmstrong@...libre.com>,
	linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio: sx150x: Update OF configuration

Hi,

[auto build test ERROR on gpio/for-next]
[also build test ERROR on v4.7-rc3 next-20160617]
[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/Neil-Armstrong/gpio-sx150x-Update-OF-configuration/20160617-175750
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: x86_64-randconfig-s0-06171829 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpio/gpio-sx150x.c: In function 'sx150x_init_chip':
>> drivers/gpio/gpio-sx150x.c:594:18: error: 'struct gpio_chip' has no member named 'of_node'
      chip->gpio_chip.of_node          = client->dev.of_node;
                     ^
>> drivers/gpio/gpio-sx150x.c:595:18: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells'
      chip->gpio_chip.of_gpio_n_cells  = 2;
                     ^
--
   /kbuild/src/smoke/drivers/gpio/gpio-sx150x.c: In function 'sx150x_init_chip':
>> /kbuild/src/smoke/drivers/gpio/gpio-sx150x.c:594:18: error: 'struct gpio_chip' has no member named 'of_node'
      chip->gpio_chip.of_node          = client->dev.of_node;
                     ^
>> /kbuild/src/smoke/drivers/gpio/gpio-sx150x.c:595:18: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells'
      chip->gpio_chip.of_gpio_n_cells  = 2;
                     ^

vim +594 drivers/gpio/gpio-sx150x.c

c34f16b7 drivers/gpio/sx150x.c      Gregory Bean   2010-08-10  588  	chip->gpio_chip.get              = sx150x_gpio_get;
c34f16b7 drivers/gpio/sx150x.c      Gregory Bean   2010-08-10  589  	chip->gpio_chip.set              = sx150x_gpio_set;
04b86956 drivers/gpio/gpio-sx150x.c Linus Walleij  2016-04-09  590  	chip->gpio_chip.set_single_ended = sx150x_gpio_set_single_ended;
9fb1f39e drivers/gpio/gpio-sx150x.c Linus Walleij  2013-12-04  591  	chip->gpio_chip.can_sleep        = true;
c34f16b7 drivers/gpio/sx150x.c      Gregory Bean   2010-08-10  592  	chip->gpio_chip.ngpio            = chip->dev_cfg->ngpios;
193ca3f8 drivers/gpio/gpio-sx150x.c Neil Armstrong 2016-06-17  593  	if (client->dev.of_node) {
04d2264c drivers/gpio/gpio-sx150x.c Wei Chen       2015-01-15 @594  		chip->gpio_chip.of_node          = client->dev.of_node;
04d2264c drivers/gpio/gpio-sx150x.c Wei Chen       2015-01-15 @595  		chip->gpio_chip.of_gpio_n_cells  = 2;
193ca3f8 drivers/gpio/gpio-sx150x.c Neil Armstrong 2016-06-17  596  		chip->gpio_chip.base             = -1;
193ca3f8 drivers/gpio/gpio-sx150x.c Neil Armstrong 2016-06-17  597  	} else
193ca3f8 drivers/gpio/gpio-sx150x.c Neil Armstrong 2016-06-17  598  		chip->gpio_chip.base             = pdata->gpio_base;

:::::: The code at line 594 was first introduced by commit
:::::: 04d2264c3bf07f5c3d18165ba78de0a93360c6c0 gpio: sx150x: add dts support for sx150x driver

:::::: TO: Wei Chen <Wei.Chen@....com>
:::::: CC: Linus Walleij <linus.walleij@...aro.org>

---
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/octet-stream" (26731 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ