2013-04-19 05:50:50

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the drm tree

Hi Dave,

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

drivers/gpu/drm/qxl/qxl_cmd.c: In function 'qxl_surface_id_alloc':
drivers/gpu/drm/qxl/qxl_cmd.c:442:2: warning: 'idr_pre_get' is deprecated (declared at include/linux/idr.h:149) [-Wdeprecated-declarations]
drivers/gpu/drm/qxl/qxl_cmd.c:449:2: warning: 'idr_get_new_above' is deprecated (declared at include/linux/idr.h:164) [-Wdeprecated-declarations]
drivers/gpu/drm/qxl/qxl_release.c: In function 'qxl_release_alloc':
drivers/gpu/drm/qxl/qxl_release.c:60:2: warning: 'idr_pre_get' is deprecated (declared at include/linux/idr.h:149) [-Wdeprecated-declarations]
drivers/gpu/drm/qxl/qxl_release.c:66:2: warning: 'idr_get_new_above' is deprecated (declared at include/linux/idr.h:164) [-Wdeprecated-declarations]

Introduced by commit f64122c1f6ad ("drm: add new QXL driver. (v1.4)").
The above idr_ reoutines were marked deprecated by commit c8615d3716fe
("idr: deprecate idr_pre_get() and idr_get_new[_above]()") between
v3.9-rc2 and -rc3.

--
Cheers,
Stephen Rothwell [email protected]


Attachments:
(No filename) (1.09 kB)
(No filename) (836.00 B)
Download all attachments