Quoting Arnd Bergmann (2020-04-28 22:30:50) > After the function is no longer marked 'inline', there > is now a new warning pointing out that the only caller > is inside of an #ifdef: > > drivers/gpu/drm/i915/display/intel_panel.c:493:12: warning: 'scale_user_to_hw' defined but not used [-Wunused-function] > 493 | static u32 scale_user_to_hw(struct intel_connector *connector, > | ^~~~~~~~~~~~~~~~ > > Move the function itself into that #ifdef as well. > > Fixes: 81b55ef1f47b ("drm/i915: drop a bunch of superfluous inlines") > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> Reviewed-b: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel