linux-next: build warning after merge of the drm tree
From: Stephen Rothwell
Date: Fri Apr 19 2013 - 01:50:56 EST
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 sfr@xxxxxxxxxxxxxxxx
Attachment:
pgp00000.pgp
Description: PGP signature