[jdelvare-staging:i2c-for-linus 9/15] drivers/i2c/busses/i2c-i801.c:1014:21: error: dereferencing pointer to incomplete type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jean,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging.git i2c-for-linus
head:   c415b303a704e5c5f766fc0404093910c36cc4ab
commit: 3ad7ea18ae8c7ddda46b7276e0bda73e707ea9c1 [9/15] i2c-i801: Support SMBus multiplexing on Asus Z8 series
config: parisc-allyesconfig

It's also failing in Linus' master and linux-next.

All error/warnings:

drivers/i2c/busses/i2c-i801.c: In function 'match_gpio_chip_by_label':
drivers/i2c/busses/i2c-i801.c:1014:21: error: dereferencing pointer to incomplete type
drivers/i2c/busses/i2c-i801.c: In function 'i801_add_mux':
drivers/i2c/busses/i2c-i801.c:1031:2: error: implicit declaration of function 'gpiochip_find' [-Werror=implicit-function-declaration]
drivers/i2c/busses/i2c-i801.c:1031:7: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/i2c/busses/i2c-i801.c:1050:27: error: dereferencing pointer to incomplete type
drivers/i2c/busses/i2c-i801.c: In function 'match_gpio_chip_by_label':
drivers/i2c/busses/i2c-i801.c:1015:1: warning: control reaches end of non-void function [-Wreturn-type]
cc1: some warnings being treated as errors

vim +1014 drivers/i2c/busses/i2c-i801.c

3ad7ea18 Jean Delvare 2012-10-05  1008  	{ }
3ad7ea18 Jean Delvare 2012-10-05  1009  };
3ad7ea18 Jean Delvare 2012-10-05  1010  
3ad7ea18 Jean Delvare 2012-10-05  1011  static int __devinit match_gpio_chip_by_label(struct gpio_chip *chip,
3ad7ea18 Jean Delvare 2012-10-05  1012  					      void *data)
3ad7ea18 Jean Delvare 2012-10-05  1013  {
3ad7ea18 Jean Delvare 2012-10-05 @1014  	return !strcmp(chip->label, data);
3ad7ea18 Jean Delvare 2012-10-05  1015  }
3ad7ea18 Jean Delvare 2012-10-05  1016  
3ad7ea18 Jean Delvare 2012-10-05  1017  /* Setup multiplexing if needed */

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux