diff options
author | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2021-01-29 22:44:21 -0800 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-30 14:39:00 +0000 |
commit | e02612921a4e95aef3a368e7468f4337c9dcee7d (patch) | |
tree | 7b8feaa11b5787c2b78c362222e0e99b30c865e4 /tests/prime_nv_test.c | |
parent | fdc23507d022b68443121ec2c1a951af27c87240 (diff) |
meson: Turn on -Werror
We can choose which compile warnings to enable, but once they are enabled
treat all warnings as error. This enforces stricter checks against compile
warnings creeping in.
v2: Fix redefinition warning errors from i915/gem_userptr_blits
v3: Fix the even more pedantic clang compilation
v4: Do not alter whitespace in lib/tests/igt_describe!
Note: clang does not build assembler/
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/prime_nv_test.c')
-rw-r--r-- | tests/prime_nv_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/prime_nv_test.c b/tests/prime_nv_test.c index b4714dcb..81d142f4 100644 --- a/tests/prime_nv_test.c +++ b/tests/prime_nv_test.c @@ -190,7 +190,7 @@ static void test_nv_write_i915_gtt_mmap_read(void) /* test drm_intel_bo_map doesn't work properly, this tries to map the backing shmem fd, which doesn't exist for these objects */ -static void test_i915_import_cpu_mmap(void) +__noreturn static void test_i915_import_cpu_mmap(void) { drm_intel_bo *test_intel_bo; int prime_fd; |