Skip to contentSkip to conversation

linux-next: build warning after merge of the drm tree

DISCUSSION Stephen Rothwell 2 participants 2 messages May 20, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Dave,

After merging the drm tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/gpu/drm/drm_crtc.c:4324:13: warning: 'drm_property_unreference_blob_locked' defined but not used [-Wunused-function]
static void drm_property_unreference_blob_locked(struct drm_property_blob *blob)

             ^

Introduced by commit 6bcacf51d050 ("drm: Add reference counting to blob properties").

This has been happening for a while. I assumed a user for this new API would come along, but it hasn't ...

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 5 lines · Stephen Rothwell

After merging the drm tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/gpu/drm/drm_crtc.c:4324:13: warning: 'drm_property_unreference_blob_locked' defined but not used [-Wunused-function]
static void drm_property_unreference_blob_locked(struct drm_property_blob *blob)

Quoted 7 lines
             ^

Introduced by commit 6bcacf51d050 ("drm: Add reference counting to blob properties").

This has been happening for a while. I assumed a user for this new API would come along, but it hasn't ...

Hello Stephen,

http://mid.gmane.org/CAPj87rMPtafeYNzgXoP+fx0dAqhwaD7kdnJgqb_vdbPtiOrXPg@mail.gmail.com

	-ss