projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae3b38
)
radeonsi: fix possible truncation on renderer string
author
Timothy Arceri
<tarceri@itsqueeze.com>
Thu, 7 Jun 2018 01:03:10 +0000
(11:03 +1000)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Fri, 8 Jun 2018 00:07:55 +0000
(10:07 +1000)
Fixes truncation warning in gcc 8.1
Fixes: 8539c9bf3158 ("gallium/radeon: add the kernel version into the renderer string")
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_pipe.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_pipe.h
b/src/gallium/drivers/radeonsi/si_pipe.h
index 5d1671fb87f355521661c97d8cd178c628703419..cf9b124fe5a370f558808433a1678ac9016522ec 100644
(file)
--- 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[1
00
];
+ char renderer_string[1
83
];
unsigned gs_table_depth;
unsigned tess_offchip_block_dw_size;