tree: https://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git for-next head: 0bb4e10789943962fc8488c5e965517c713b3be3 commit: 0bb4e10789943962fc8488c5e965517c713b3be3 [8/8] leds: as3645a: Add LED flash class driver config: sh-allmodconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 0bb4e10789943962fc8488c5e965517c713b3be3 # save the attached .config to linux build tree make.cross ARCH=sh All errors (new ones prefixed by >>): drivers/leds/leds-as3645a.c: In function 'as3645a_v4l2_setup': >> drivers/leds/leds-as3645a.c:650:9: error: passing argument 4 of 'v4l2_flash_init' from incompatible pointer type [-Werror=incompatible-pointer-types] &flash->iled_cdev, NULL, &cfg); ^ In file included from drivers/leds/leds-as3645a.c:32:0: include/media/v4l2-flash-led-class.h:124:20: note: expected 'struct led_classdev_flash *' but argument is of type 'struct led_classdev *' struct v4l2_flash *v4l2_flash_init( ^~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/v4l2_flash_init +650 drivers/leds/leds-as3645a.c 644 }, 645 }; 646 647 strlcpy(cfg.dev_name, led->name, sizeof(cfg.dev_name)); 648 649 flash->vf = v4l2_flash_init(&flash->client->dev, NULL, &flash->fled, > 650 &flash->iled_cdev, NULL, &cfg); 651 if (IS_ERR(flash->vf)) 652 return PTR_ERR(flash->vf); 653 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip