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: <201708230746.xJMbzY3z%fengguang.wu@intel.com>
Date:   Wed, 23 Aug 2017 07:36:53 +0800
From:   kbuild test robot <lkp@...el.com>
To:     s.abhisit@...il.com
Cc:     kbuild-all@...org, lee.jones@...aro.org,
        Jonathan.Cameron@...wei.com, pmeerw@...erw.net, jacopo@...ndi.org,
        linus.walleij@...aro.org, linux-kernel@...r.kernel.org,
        knaack.h@....de, lars@...afoo.de, fabrice.gasnier@...com,
        robh@...nel.org, akinobu.mita@...il.com,
        marek.vasut+renesas@...il.com, jacopo+renesas@...ndi.org,
        mike.looijmans@...ic.nl, peda@...ntia.se, jeff.dagenais@...il.com,
        linux-iio@...r.kernel.org, linux-gpio@...r.kernel.org,
        robh+dt@...nel.org, mark.rutland@....com,
        devicetree@...r.kernel.org, Abhisit Sangjan <s.abhisit@...il.com>
Subject: Re: [PATCH] mfd: Add support for TI LMP92001

Hi Abhisit,

[auto build test ERROR on ljones-mfd/for-mfd-next]
[also build test ERROR on v4.13-rc6 next-20170822]
[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/s-abhisit-gmail-com/mfd-Add-support-for-TI-LMP92001/20170823-033657
base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   drivers//gpio/gpio-lmp92001.c: In function 'lmp92001_gpio_dbg_show':
>> drivers//gpio/gpio-lmp92001.c:131:3: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration]
      seq_printf(s, " gpio-%-3d (%-20.20s) %-3.3s %-2.2s\n",
      ^~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/seq_printf +131 drivers//gpio/gpio-lmp92001.c

   103	
   104	#ifdef CONFIG_DEBUG_FS
   105	static void lmp92001_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip)
   106	{
   107		struct lmp92001_gpio *lmp92001_gpio = gpiochip_get_data(chip);
   108		struct lmp92001 *lmp92001 = lmp92001_gpio->lmp92001;
   109		int i, gpio;
   110		unsigned int cgpo;
   111		const char *label, *dir, *logic;
   112	
   113		for (i = 0; i < chip->ngpio; i++) {
   114			gpio = i + chip->base;
   115	
   116			label = gpiochip_is_requested(chip, i);
   117			if (!label)
   118				continue;
   119	
   120			regmap_read(lmp92001->regmap, LMP92001_CGPO, &cgpo);
   121			if ((cgpo>>i) & BIT(0))
   122				dir = "in";
   123			else
   124				dir = "out";
   125	
   126			if (lmp92001_gpio_get(chip, i))
   127				logic = "hi";
   128			else
   129				logic = "lo";
   130	
 > 131			seq_printf(s, " gpio-%-3d (%-20.20s) %-3.3s %-2.2s\n",
   132					gpio, label, dir, logic);
   133		}
   134	}
   135	#else
   136	#define lmp92001_gpio_dbg_show NULL
   137	#endif
   138	

---
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" (51548 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ