Re: [PATCH 1/9] VC04_SERVICES: Add compat ioctl data structures

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

 



On Wed, Jan 18, 2017 at 07:04:45AM -0800, Michael Zoran wrote:
> This change adds the compatibility data structures for compatibility
> ioctls and defines compatibility ioctl definitions for the ioctls
> that have changed.
> 
> Signed-off-by: Michael Zoran <mzoran@xxxxxxxxxxxx>
> ---
>  .../interface/vchiq_arm/vchiq_ioctl.h              | 96 ++++++++++++++++++++++
>  1 file changed, 96 insertions(+)
> 
> diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h
> index 6137ae9de1c1..1681b7792ef2 100644
> --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h
> +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h
> @@ -35,6 +35,9 @@
>  #define VCHIQ_IOCTLS_H
>  
>  #include <linux/ioctl.h>
> +#if defined(CONFIG_COMPAT)
> +#include <linux/compat.h>
> +#endif

Are you sure this ifdef is needed?

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux