Skip to contentSkip to conversation

Compile warnings with linux 4.2-rc1 on i915_debugfs_connector_add

DISCUSSION François Valenduc 1 participant 1 message Jul 12, 2015

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel