On Fri, May 03, 2013 at 03:03:37PM +0300, Jani Nikula wrote: > On Fri, 03 May 2013, Daniel Vetter <dan...@ffwll.ch> wrote: > > On Fri, May 03, 2013 at 11:17:42AM +0200, dl...@gmx.de wrote: > >> From: Jan-Simon Möller <dl...@gmx.de> > >> > >> Description: > >> intel_gmbus_is_forced_bit is no extern as its body is right below. > >> Likewise for intel_gmbus_is_port_valid. > >> > >> This fixes a compilation issue with clang. An initial version of this patch > >> was developed by PaX Team <pageexec at freemail.hu>. > >> This is respin of this patch. > >> > >> Signed-off-by: Jan-Simon Möller <dl...@gmx.de> > >> CC: pagee...@freemail.hu > >> CC: daniel.vet...@ffwll.ch > >> CC: airl...@linux.ie > >> CC: intel-...@lists.freedesktop.org > >> CC: dri-devel@lists.freedesktop.org > >> CC: linux-ker...@vger.kernel.org > > Picked up for -fixes, thanks for the patch. > > Please drop it. > > The patch removes the inline keyword, creating dozens of copies of the > functions, and consequently loads of warnings: > > drivers/gpu/drm/i915/i915_drv.h:1803:13: warning: ‘intel_gmbus_is_port_valid’ > defined but not used [-Wunused-function] > drivers/gpu/drm/i915/i915_drv.h:1812:13: warning: ‘intel_gmbus_is_forced_bit’ > defined but not used [-Wunused-function]
Meh, rather embarrassing patch reading fail here. Dropped. Thanks, Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel