[gpio:for-next 3/4] drivers/gpio/gpiolib.c:396:20: error: 'filep' undeclared

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
head:   551cf9de422c1b549823f0a044c344ed3d1fff8a
commit: 63a5a9abc6177dcb8cb6d704c5781d83e9afb19f [3/4] gpio: handle compatible ioctl() pointers
config: x86_64-rhel (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
        git checkout 63a5a9abc6177dcb8cb6d704c5781d83e9afb19f
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the gpio/for-next HEAD 551cf9de422c1b549823f0a044c344ed3d1fff8a builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/gpio/gpiolib.c: In function 'gpio_ioctl_compat':
>> drivers/gpio/gpiolib.c:396:20: error: 'filep' undeclared (first use in this function)
     return gpio_ioctl(filep, cmd, (unsigned long)compat_ptr(arg));
                       ^
   drivers/gpio/gpiolib.c:396:20: note: each undeclared identifier is reported only once for each function it appears in
   drivers/gpio/gpiolib.c:397:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +/filep +396 drivers/gpio/gpiolib.c

   390	}
   391	
   392	#ifdef CONFIG_COMPAT
   393	static long gpio_ioctl_compat(struct file *filp, unsigned int cmd,
   394				      unsigned long arg)
   395	{
 > 396		return gpio_ioctl(filep, cmd, (unsigned long)compat_ptr(arg));
   397	}
   398	#endif
   399	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux