From: kbuild test robot <lkp@intel.com>
To: Tobias Klauser <tklauser@distanz.ch>
Cc: kbuild-all@01.org, Arnd Bergmann <arnd@arndb.de>,
Andrew Morton <akpm@linux-foundation.org>,
linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org,
Michal Hocko <mhocko@suse.com>, Ley Foon Tan <lftan@altera.com>
Subject: Re: [PATCH] asm-generic/io.h: remove unnecessary #include of <linux/vmalloc.h>
Date: Tue, 9 May 2017 20:01:30 +0800 [thread overview]
Message-ID: <201705091909.TrHhz5r6%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170509085045.7342-1-tklauser@distanz.ch>
[-- Attachment #1: Type: text/plain, Size: 4174 bytes --]
Hi Tobias,
[auto build test ERROR on v4.9-rc8]
[also build test ERROR on next-20170509]
[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/Tobias-Klauser/asm-generic-io-h-remove-unnecessary-include-of-linux-vmalloc-h/20170509-184856
config: arm-sunxi_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=arm
All errors (new ones prefixed by >>):
drivers/clk/sunxi-ng/ccu_reset.h:28:41: sparse: expected ; at end of declaration
drivers/clk/sunxi-ng/ccu_reset.h:28:41: sparse: Expected } at end of struct-union-enum-specifier
drivers/clk/sunxi-ng/ccu_reset.h:28:41: sparse: got *
drivers/clk/sunxi-ng/ccu_reset.h:31:1: sparse: Expected ; at the end of type declaration
drivers/clk/sunxi-ng/ccu_reset.h:31:1: sparse: got }
drivers/clk/sunxi-ng/ccu_reset.h:35:16: sparse: no member 'rcdev' in struct ccu_reset
drivers/clk/sunxi-ng/ccu_reset.h:35:16: sparse: unknown member
drivers/clk/sunxi-ng/ccu_reset.h:35:16: sparse: cast from unknown type
drivers/clk/sunxi-ng/ccu_reset.c:24:9: sparse: undefined identifier 'spin_lock_irqsave'
drivers/clk/sunxi-ng/ccu_reset.c:29:9: sparse: undefined identifier 'spin_unlock_irqrestore'
drivers/clk/sunxi-ng/ccu_reset.h:35:16: sparse: incompatible types for operation (-)
drivers/clk/sunxi-ng/ccu_reset.h:35:16: left side has type char *<noident>
drivers/clk/sunxi-ng/ccu_reset.h:35:16: right side has type bad type
drivers/clk/sunxi-ng/ccu_reset.c:42:9: sparse: undefined identifier 'spin_lock_irqsave'
drivers/clk/sunxi-ng/ccu_reset.c:47:9: sparse: undefined identifier 'spin_unlock_irqrestore'
In file included from drivers/clk/sunxi-ng/ccu_reset.c:14:0:
>> drivers/clk/sunxi-ng/ccu_reset.h:28:2: error: unknown type name 'spinlock_t'
spinlock_t *lock;
^~~~~~~~~~
drivers/clk/sunxi-ng/ccu_reset.c: In function 'ccu_reset_assert':
>> drivers/clk/sunxi-ng/ccu_reset.c:24:2: error: implicit declaration of function 'spin_lock_irqsave' [-Werror=implicit-function-declaration]
spin_lock_irqsave(ccu->lock, flags);
^~~~~~~~~~~~~~~~~
>> drivers/clk/sunxi-ng/ccu_reset.c:29:2: error: implicit declaration of function 'spin_unlock_irqrestore' [-Werror=implicit-function-declaration]
spin_unlock_irqrestore(ccu->lock, flags);
^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/spinlock_t +28 drivers/clk/sunxi-ng/ccu_reset.h
1d80c142 Maxime Ripard 2016-06-29 22 };
1d80c142 Maxime Ripard 2016-06-29 23
1d80c142 Maxime Ripard 2016-06-29 24
1d80c142 Maxime Ripard 2016-06-29 25 struct ccu_reset {
1d80c142 Maxime Ripard 2016-06-29 26 void __iomem *base;
1d80c142 Maxime Ripard 2016-06-29 27 struct ccu_reset_map *reset_map;
1d80c142 Maxime Ripard 2016-06-29 @28 spinlock_t *lock;
1d80c142 Maxime Ripard 2016-06-29 29
1d80c142 Maxime Ripard 2016-06-29 30 struct reset_controller_dev rcdev;
1d80c142 Maxime Ripard 2016-06-29 31 };
1d80c142 Maxime Ripard 2016-06-29 32
1d80c142 Maxime Ripard 2016-06-29 33 static inline struct ccu_reset *rcdev_to_ccu_reset(struct reset_controller_dev *rcdev)
1d80c142 Maxime Ripard 2016-06-29 34 {
1d80c142 Maxime Ripard 2016-06-29 @35 return container_of(rcdev, struct ccu_reset, rcdev);
1d80c142 Maxime Ripard 2016-06-29 36 }
1d80c142 Maxime Ripard 2016-06-29 37
1d80c142 Maxime Ripard 2016-06-29 38 extern const struct reset_control_ops ccu_reset_ops;
:::::: The code at line 28 was first introduced by commit
:::::: 1d80c14248d6082c91a8a9e3d70cc94c3cc18ecb clk: sunxi-ng: Add common infrastructure
:::::: TO: Maxime Ripard <maxime.ripard@free-electrons.com>
:::::: CC: Michael Turquette <mturquette@baylibre.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 20276 bytes --]
prev parent reply other threads:[~2017-05-09 12:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-09 8:50 Tobias Klauser
2017-05-09 9:02 ` Michal Hocko
2017-05-09 13:16 ` Tobias Klauser
2017-05-09 13:40 ` Michal Hocko
2017-05-09 12:01 ` kbuild test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201705091909.TrHhz5r6%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=kbuild-all@01.org \
--cc=lftan@altera.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhocko@suse.com \
--cc=tklauser@distanz.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®