uxa: Silence compiler warning for const arguments
i965_video.c: In function 'gen6_create_cc_state': i965_video.c:1374:12: warning: passing argument 4 of 'intel_bo_alloc_for_data' discards 'const' qualifier from pointer target type [enabled by default] Repeated ad nauseam. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
507f72d6d4
commit
f2aafb9802
|
|
@ -605,7 +605,7 @@ intel_emit_reloc(drm_intel_bo * bo, uint32_t offset,
|
|||
static inline drm_intel_bo *intel_bo_alloc_for_data(intel_screen_private *intel,
|
||||
const void *data,
|
||||
unsigned int size,
|
||||
char *name)
|
||||
const char *name)
|
||||
{
|
||||
drm_intel_bo *bo;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue