[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201612140922.MEX20BJx%fengguang.wu@intel.com>
Date: Wed, 14 Dec 2016 09:33:03 +0800
From: kbuild test robot <lkp@...el.com>
To: Holger Dengler <dengler@...utronix.de>
Cc: kbuild-all@...org, Lee Jones <lee.jones@...aro.org>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Vinod Koul <vinod.koul@...el.com>,
linux-kernel@...r.kernel.org, dmaengine@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>,
Sebastian Siewior <bigeasy@...utronix.de>,
Juergen Bubeck <bubeck@...ug.com>,
Peter Mahler <mahler@...ug.com>,
Holger Dengler <dengler@...utronix.de>,
Benedikt Spranger <b.spranger@...utronix.de>
Subject: Re: [PATCH 09/12] misc: flexcard: add device attributes
Hi Holger,
[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on v4.9]
[cannot apply to ljones-mfd/for-mfd-next next-20161213]
[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/Holger-Dengler/Eberspaecher-Flexcard-PMC-II-base-support/20161214-082350
config: i386-allmodconfig (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=i386
All errors (new ones prefixed by >>):
drivers/misc/flexcard_misc.c: In function 'serialno_show':
>> drivers/misc/flexcard_misc.c:70:10: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration]
fc_sn = readq(&priv->conf->fc_sn);
^~~~~
cc1: some warnings being treated as errors
vim +/readq +70 drivers/misc/flexcard_misc.c
64 static ssize_t serialno_show(struct device *dev,
65 struct device_attribute *attr, char *buf)
66 {
67 struct flexcard_misc *priv = dev_get_drvdata(dev);
68 u64 fc_sn;
69
> 70 fc_sn = readq(&priv->conf->fc_sn);
71 return sprintf(buf, "%lld\n", fc_sn);
72 }
73 static DEVICE_ATTR_RO(serialno);
---
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" (56970 bytes)
Powered by blists - more mailing lists