[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+r1ZhhhTu+X6bCeparH-BO=+Gs_BA4aPPF7A=E15x2QWUpYUA@mail.gmail.com>
Date: Mon, 13 Apr 2015 09:52:31 -0700
From: Jim Davis <jim.epost@...il.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next <linux-next@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
broonie <broonie@...nel.org>, swarren@...dotorg.org,
lee@...nel.org, linux-spi@...r.kernel.org,
linux-rpi-kernel@...ts.infradead.org
Subject: randconfig build error with next-20150413, in drivers/spi/spi-bcm2835.c
Building with the attached random configuration file,
drivers/spi/spi-bcm2835.c: In function 'chip_match_name':
drivers/spi/spi-bcm2835.c:356:21: error: dereferencing pointer to
incomplete type
return !strcmp(chip->label, data);
^
drivers/spi/spi-bcm2835.c: In function 'bcm2835_spi_setup':
drivers/spi/spi-bcm2835.c:382:2: error: implicit declaration of
function 'gpiochip_find' [-Werror=implicit-function-declaration]
chip = gpiochip_find("pinctrl-bcm2835", chip_match_name);
^
drivers/spi/spi-bcm2835.c:382:7: warning: assignment makes pointer
from integer without a cast
chip = gpiochip_find("pinctrl-bcm2835", chip_match_name);
^
drivers/spi/spi-bcm2835.c:387:21: error: dereferencing pointer to
incomplete type
spi->cs_gpio = chip->base + 8 - spi->chip_select;
^
drivers/spi/spi-bcm2835.c: In function 'chip_match_name':
drivers/spi/spi-bcm2835.c:357:1: warning: control reaches end of
non-void function [-Wreturn-type]
}
^
View attachment "randconfig-1428933113.txt" of type "text/plain" (102575 bytes)
Powered by blists - more mailing lists