tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git gpio-descriptors-net head: 850d2436c491a849ae4806e7e11f2db29b64544b commit: 850d2436c491a849ae4806e7e11f2db29b64544b [1/1] net: phy: fixed-phy: Drop GPIO from fixed_phy_add() config: x86_64-randconfig-s0-01120132 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: git checkout 850d2436c491a849ae4806e7e11f2db29b64544b # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/net/phy/fixed_phy.c: In function 'fixed_phy_update': >> drivers/net/phy/fixed_phy.c:75:23: error: implicit declaration of function 'gpio_get_value_cansleep' [-Werror=implicit-function-declaration] fp->status.link = !!gpio_get_value_cansleep(fp->link_gpiod); ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/gpio_get_value_cansleep +75 drivers/net/phy/fixed_phy.c 71 72 static void fixed_phy_update(struct fixed_phy *fp) 73 { 74 if (!fp->no_carrier && fp->link_gpiod) > 75 fp->status.link = !!gpio_get_value_cansleep(fp->link_gpiod); 76 } 77 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip