[Intel-gfx] [PATCH] drm: fix sparse warnings on undeclared symbols in crc debugfs

Jani Nikula jani.nikula at intel.com
Wed Oct 19 11:14:20 UTC 2016


On Tue, 18 Oct 2016, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> On Tue, Oct 18, 2016 at 02:28:35PM +0300, Jani Nikula wrote:
>> Fixes sparse warnings:
>> 
>> drivers/gpu/drm/drm_debugfs_crc.c:118:30: warning: symbol
>> 'drm_crtc_crc_control_fops' was not declared. Should it be static?
>> 
>> drivers/gpu/drm/drm_debugfs_crc.c:264:30: warning: symbol
>> 'drm_crtc_crc_data_fops' was not declared. Should it be static?
>> 
>> drivers/gpu/drm/drm_debugfs_crc.c:281:5: warning: symbol
>> 'drm_debugfs_crtc_crc_add' was not declared. Should it be static?
>> 
>> Fixes: 9edbf1fa600a ("drm: Add API for capturing frame CRCs")
>> Cc: Benjamin Gaignard <benjamin.gaignard at linaro.org>
>> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
>> Cc: Emil Velikov <emil.velikov at collabora.com>
>> Cc: Tomeu Vizoso <tomeu.vizoso at collabora.com>
>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Pushed to drm-misc, thanks for the review.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list