From: Timothy Arceri Date: Thu, 7 Jun 2018 01:03:10 +0000 (+1000) Subject: radeonsi: fix possible truncation on renderer string X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03c370d2f164847abad88c1af7c159db23014947;p=mesa.git radeonsi: fix possible truncation on renderer string Fixes truncation warning in gcc 8.1 Fixes: 8539c9bf3158 ("gallium/radeon: add the kernel version into the renderer string") Reviewed-by: Michel Dänzer --- 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;