Compile warnings with linux 4.2-rc1 on i915_debugfs_connector_add

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

 



Hello everybody,

I get plenty of time the same compile warnings with linux 4.2-rc1:

In file included from drivers/gpu/drm/i915/intel_drv.h:32:0,
                 from drivers/gpu/drm/i915/i915_dma.c:36:
drivers/gpu/drm/i915/i915_drv.h: In function ‘i915_debugfs_connector_add’:
drivers/gpu/drm/i915/i915_drv.h:3119:53: attention : « return » manquant
dans une fonction devant retourner une valeur [-Wreturn-type]
 static inline int i915_debugfs_connector_add(struct drm_connector
*connector) {}

The warnings still occur with the latest git tree. I have compiled the
kernel with LC_ALL=C but the end of the message is still in french. So,
it complains that the function should return a value.

Is it really a problematic warning ?

Thanks in advance for your help,

François Valenduc
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux