From: kbuild test robot <lkp@intel.com>
To: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Cc: kbuild-all@01.org, matti.vaittinen@fi.rohmeurope.com,
mazziesaccount@gmail.com, broonie@kernel.org,
gregkh@linuxfoundation.org, rafael@kernel.org,
linus.walleij@linaro.org, linux-kernel@vger.kernel.org,
linux-gpio@vger.kernel.org, heikki.haikola@fi.rohmeurope.com,
mikko.mutanen@fi.rohmeurope.com
Subject: Re: [PATCH] regmap: regmap-irq/gpio-max77620: add level-irq support
Date: Mon, 10 Dec 2018 22:19:17 +0800 [thread overview]
Message-ID: <201812102217.lQnGrdFE%fengguang.wu@intel.com> (raw)
In-Reply-To: <20181210081437.GA32228@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 4734 bytes --]
Hi Matti,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on gpio/for-next]
[also build test ERROR on v4.20-rc6 next-20181207]
[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/Matti-Vaittinen/regmap-regmap-irq-gpio-max77620-add-level-irq-support/20181210-212928
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: x86_64-randconfig-x011-201849 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
>> drivers/gpio/gpio-max77620.c:33:40: error: expected '}' before ';' token
.types_supported = IRQ_TYPE_EDGE_BOTH;
^
drivers/gpio/gpio-max77620.c:41:40: error: expected '}' before ';' token
.types_supported = IRQ_TYPE_EDGE_BOTH;
^
drivers/gpio/gpio-max77620.c:49:40: error: expected '}' before ';' token
.types_supported = IRQ_TYPE_EDGE_BOTH;
^
drivers/gpio/gpio-max77620.c:57:40: error: expected '}' before ';' token
.types_supported = IRQ_TYPE_EDGE_BOTH;
^
drivers/gpio/gpio-max77620.c:65:40: error: expected '}' before ';' token
.types_supported = IRQ_TYPE_EDGE_BOTH;
^
drivers/gpio/gpio-max77620.c:73:40: error: expected '}' before ';' token
.types_supported = IRQ_TYPE_EDGE_BOTH;
^
drivers/gpio/gpio-max77620.c:81:40: error: expected '}' before ';' token
.types_supported = IRQ_TYPE_EDGE_BOTH;
^
drivers/gpio/gpio-max77620.c:89:40: error: expected '}' before ';' token
.types_supported = IRQ_TYPE_EDGE_BOTH;
^
vim +33 drivers/gpio/gpio-max77620.c
25
26 static const struct regmap_irq max77620_gpio_irqs[] = {
27 [0] = {
28 .mask = MAX77620_IRQ_LVL2_GPIO_EDGE0,
29 .type_rising_mask = MAX77620_CNFG_GPIO_INT_RISING,
30 .type_falling_mask = MAX77620_CNFG_GPIO_INT_FALLING,
31 .reg_offset = 0,
32 .type_reg_offset = 0,
> 33 .types_supported = IRQ_TYPE_EDGE_BOTH;
34 },
35 [1] = {
36 .mask = MAX77620_IRQ_LVL2_GPIO_EDGE1,
37 .type_rising_mask = MAX77620_CNFG_GPIO_INT_RISING,
38 .type_falling_mask = MAX77620_CNFG_GPIO_INT_FALLING,
39 .reg_offset = 0,
40 .type_reg_offset = 1,
41 .types_supported = IRQ_TYPE_EDGE_BOTH;
42 },
43 [2] = {
44 .mask = MAX77620_IRQ_LVL2_GPIO_EDGE2,
45 .type_rising_mask = MAX77620_CNFG_GPIO_INT_RISING,
46 .type_falling_mask = MAX77620_CNFG_GPIO_INT_FALLING,
47 .reg_offset = 0,
48 .type_reg_offset = 2,
49 .types_supported = IRQ_TYPE_EDGE_BOTH;
50 },
51 [3] = {
52 .mask = MAX77620_IRQ_LVL2_GPIO_EDGE3,
53 .type_rising_mask = MAX77620_CNFG_GPIO_INT_RISING,
54 .type_falling_mask = MAX77620_CNFG_GPIO_INT_FALLING,
55 .reg_offset = 0,
56 .type_reg_offset = 3,
57 .types_supported = IRQ_TYPE_EDGE_BOTH;
58 },
59 [4] = {
60 .mask = MAX77620_IRQ_LVL2_GPIO_EDGE4,
61 .type_rising_mask = MAX77620_CNFG_GPIO_INT_RISING,
62 .type_falling_mask = MAX77620_CNFG_GPIO_INT_FALLING,
63 .reg_offset = 0,
64 .type_reg_offset = 4,
65 .types_supported = IRQ_TYPE_EDGE_BOTH;
66 },
67 [5] = {
68 .mask = MAX77620_IRQ_LVL2_GPIO_EDGE5,
69 .type_rising_mask = MAX77620_CNFG_GPIO_INT_RISING,
70 .type_falling_mask = MAX77620_CNFG_GPIO_INT_FALLING,
71 .reg_offset = 0,
72 .type_reg_offset = 5,
73 .types_supported = IRQ_TYPE_EDGE_BOTH;
74 },
75 [6] = {
76 .mask = MAX77620_IRQ_LVL2_GPIO_EDGE6,
77 .type_rising_mask = MAX77620_CNFG_GPIO_INT_RISING,
78 .type_falling_mask = MAX77620_CNFG_GPIO_INT_FALLING,
79 .reg_offset = 0,
80 .type_reg_offset = 6,
81 .types_supported = IRQ_TYPE_EDGE_BOTH;
82 },
83 [7] = {
84 .mask = MAX77620_IRQ_LVL2_GPIO_EDGE7,
85 .type_rising_mask = MAX77620_CNFG_GPIO_INT_RISING,
86 .type_falling_mask = MAX77620_CNFG_GPIO_INT_FALLING,
87 .reg_offset = 0,
88 .type_reg_offset = 7,
89 .types_supported = IRQ_TYPE_EDGE_BOTH;
90 },
91 };
92
---
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: 31582 bytes --]
next prev parent reply other threads:[~2018-12-10 14:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-10 8:14 Matti Vaittinen
2018-12-10 14:19 ` kbuild test robot [this message]
2018-12-10 14:59 ` Vaittinen, Matti
2018-12-10 15:16 ` Vladimir Zapolskiy
2018-12-11 6:38 ` Matti Vaittinen
2018-12-11 8:44 ` Matti Vaittinen
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=201812102217.lQnGrdFE%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.haikola@fi.rohmeurope.com \
--cc=kbuild-all@01.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matti.vaittinen@fi.rohmeurope.com \
--cc=mazziesaccount@gmail.com \
--cc=mikko.mutanen@fi.rohmeurope.com \
--cc=rafael@kernel.org \
/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®