mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-19 20:33:01 +00:00
build: Fix assorted compilation warnings
As these files are compiled for every test, the warnings cluttered the Android build completely. v2: As suggested by Daniel Vetter, drop some of the fixes and fix the compilation flags instead. Signed-off-by: Oscar Mateo <oscar.mateo@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
committed by
Daniel Vetter
parent
dce0d99a91
commit
5032e7bbdd
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright © 2011 Intel Corporation
|
||||
* Copyright © 2011 Intel Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -151,7 +151,7 @@ intel_get_register_map(uint32_t devid)
|
||||
}
|
||||
|
||||
struct intel_register_range *
|
||||
intel_get_register_range(struct intel_register_map map, uint32_t offset, int mode)
|
||||
intel_get_register_range(struct intel_register_map map, uint32_t offset, uint32_t mode)
|
||||
{
|
||||
struct intel_register_range *range = map.map;
|
||||
uint32_t align = map.alignment_mask;
|
||||
|
||||
Reference in New Issue
Block a user