From: kbuild test robot <lkp@intel.com>
To: =?UTF-8?q?Valentin=20H=C3=BCbner?= <valentin.huebner@gmail.com>
Cc: kbuild-all@01.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Staging: board: Fix redundant macro
Date: Mon, 20 Feb 2017 20:39:28 +0800 [thread overview]
Message-ID: <201702202052.4Wm76MGE%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170220091028.GA3611@ubuntu>
[-- Attachment #1: Type: text/plain, Size: 2954 bytes --]
Hi
[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.10 next-20170220]
[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/UTF-8-q-Valentin-20H-C3-BCbner/Staging-board-Fix-redundant-macro/20170220-175655
config: arm-shmobile_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/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/staging/board/kzm9d.c:25:15: error: expected declaration specifiers or '...' before string constant
board_staging("renesas,kzm9d", kzm9d_init);
^~~~~~~~~~~~~~~
>> drivers/staging/board/kzm9d.c:25:32: error: expected declaration specifiers or '...' before 'kzm9d_init'
board_staging("renesas,kzm9d", kzm9d_init);
^~~~~~~~~~
drivers/staging/board/kzm9d.c:12:20: warning: 'kzm9d_init' defined but not used [-Wunused-function]
static void __init kzm9d_init(void)
^~~~~~~~~~
vim +25 drivers/staging/board/kzm9d.c
f22f4ea5 Magnus Damm 2014-06-06 9 DEFINE_RES_IRQ(159),
f22f4ea5 Magnus Damm 2014-06-06 10 };
f22f4ea5 Magnus Damm 2014-06-06 11
f22f4ea5 Magnus Damm 2014-06-06 12 static void __init kzm9d_init(void)
f22f4ea5 Magnus Damm 2014-06-06 13 {
cebbddb6 Geert Uytterhoeven 2015-11-20 14 board_staging_gic_setup_xlate("arm,pl390", 32);
a8589088 Geert Uytterhoeven 2015-06-17 15
a8589088 Geert Uytterhoeven 2015-06-17 16 if (!board_staging_dt_node_available(usbs1_res,
a8589088 Geert Uytterhoeven 2015-06-17 17 ARRAY_SIZE(usbs1_res))) {
a8589088 Geert Uytterhoeven 2015-06-17 18 board_staging_gic_fixup_resources(usbs1_res,
a8589088 Geert Uytterhoeven 2015-06-17 19 ARRAY_SIZE(usbs1_res));
f22f4ea5 Magnus Damm 2014-06-06 20 platform_device_register_simple("emxx_udc", -1, usbs1_res,
f22f4ea5 Magnus Damm 2014-06-06 21 ARRAY_SIZE(usbs1_res));
f22f4ea5 Magnus Damm 2014-06-06 22 }
a8589088 Geert Uytterhoeven 2015-06-17 23 }
f22f4ea5 Magnus Damm 2014-06-06 24
f22f4ea5 Magnus Damm 2014-06-06 @25 board_staging("renesas,kzm9d", kzm9d_init);
:::::: The code at line 25 was first introduced by commit
:::::: f22f4ea5c63fbc6ee7a3f7240c84a276eba96d76 staging: board: kzm9d: Board staging support for emxx_udc
:::::: TO: Magnus Damm <damm+renesas@opensource.se>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
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: 25970 bytes --]
next prev parent reply other threads:[~2017-02-20 12:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-20 9:10 =?UTF-8?q?Valentin=20H=C3=BCbner?=
2017-02-20 12:39 ` kbuild test robot [this message]
2017-02-20 12:47 ` Geert Uytterhoeven
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=201702202052.4Wm76MGE%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=valentin.huebner@gmail.com \
/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®