Compile warnings with linux 4.2-rc1 on i915_debugfs_connector_add
François Valenduc
francoisvalenduc at gmail.com
Sun Jul 12 08:51:38 PDT 2015
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
More information about the dri-devel
mailing list