[input:rotary-encoder 4/6] drivers/input/misc/rotary_encoder.c:220:21: error: storage size of 'flags' isn't known
From: kbuild test robot <hidden>
Date: 2016-01-18 18:13:47
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git rotary-encoder head: 557a30f2f04695555bca5a276ceddd18a929375a commit: 7082ea4bde4979bd3fa377ada1f63dbb0d98f6c8 [4/6] Input: rotary_encoder - convert to use gpiod API config: x86_64-randconfig-s2-01190151 (attached as .config) reproduce: git checkout 7082ea4bde4979bd3fa377ada1f63dbb0d98f6c8 # save the attached .config to linux build tree make ARCH=x86_64 Note: the input/rotary-encoder HEAD 557a30f2f04695555bca5a276ceddd18a929375a builds fine. It only hurts bisectibility. All error/warnings (new ones prefixed by >>): drivers/input/misc/rotary_encoder.c: In function 'rotary_encoder_parse_dt':
quoted
drivers/input/misc/rotary_encoder.c:220:21: error: storage size of 'flags' isn't known
enum of_gpio_flags flags;
^quoted
drivers/input/misc/rotary_encoder.c:220:21: warning: unused variable 'flags' [-Wunused-variable]
vim +220 drivers/input/misc/rotary_encoder.c
5298cc4c Bill Pemberton 2012-11-23 214 static struct rotary_encoder_platform_data *rotary_encoder_parse_dt(struct device *dev)
80c99bcd Daniel Mack 2012-07-31 215 {
80c99bcd Daniel Mack 2012-07-31 216 const struct of_device_id *of_id =
80c99bcd Daniel Mack 2012-07-31 217 of_match_device(rotary_encoder_of_match, dev);
80c99bcd Daniel Mack 2012-07-31 218 struct device_node *np = dev->of_node;
80c99bcd Daniel Mack 2012-07-31 219 struct rotary_encoder_platform_data *pdata;
80c99bcd Daniel Mack 2012-07-31 @220 enum of_gpio_flags flags;
3a341a4c Ezequiel Garcia 2015-10-13 221 int error;
80c99bcd Daniel Mack 2012-07-31 222
80c99bcd Daniel Mack 2012-07-31 223 if (!of_id || !np)
:::::: The code at line 220 was first introduced by commit
:::::: 80c99bcd28617bd534b6f9489857235ee613c797 Input: rotary-encoder - add DT bindings
:::::: TO: Daniel Mack [off-list ref]
:::::: CC: Dmitry Torokhov [off-list ref]
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation Attachments
- .config.gz [application/octet-stream] 21778 bytes