From 03c370d2f164847abad88c1af7c159db23014947 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 7 Jun 2018 11:03:10 +1000 Subject: [PATCH] radeonsi: fix possible truncation on renderer string MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes truncation warning in gcc 8.1 Fixes: 8539c9bf3158 ("gallium/radeon: add the kernel version into the renderer string") Reviewed-by: Michel Dänzer --- src/gallium/drivers/radeonsi/si_pipe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 5d1671fb87f..cf9b124fe5a 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -409,7 +409,7 @@ struct si_screen { struct radeon_info info; uint64_t debug_flags; - char renderer_string[100]; + char renderer_string[183]; unsigned gs_table_depth; unsigned tess_offchip_block_dw_size; -- 2.30.2