summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJanusz Krzysztofik <janusz.krzysztofik@linux.intel.com>2021-07-12 10:23:43 +0200
committerJanusz Krzysztofik <janusz.krzysztofik@linux.intel.com>2021-08-11 11:05:53 +0200
commit40554b1b9c3dedcd66995cacd77a4bc062cc09a9 (patch)
treef631db2205d7842412ac1e17cf620729e7c3bbff /.gitlab-ci.yml
parent3bd2406f7610c44cc4381650cc86631cff63932d (diff)
i915/intel_memory_region: Add missing forward declaration
Intel memory region header declares some functions with a pointer to a structure defined elsewhere as one of their arguments. Forward declare that structure to avoid compiler warnings. ../lib/i915/intel_memory_region.h:69:19: warning: ‘struct drm_i915_gem_memory_class_instance’ declared inside parameter list will not be visible outside of this definition or declaration 69 | struct drm_i915_gem_memory_class_instance *mem_regions, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/i915/intel_memory_region.h:73:15: warning: ‘struct drm_i915_gem_memory_class_instance’ declared inside parameter list will not be visible outside of this definition or declaration 73 | struct drm_i915_gem_memory_class_instance *mem_regions, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions