diff mbox

[i-g-t,3/3] intel_display_poller: Fix truncation of a test name.

Message ID 20170903043853.17899-3-eric@anholt.net (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Anholt Sept. 3, 2017, 4:38 a.m. UTC
Signed-off-by: Eric Anholt <eric@anholt.net>
---
 tools/intel_display_poller.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/tools/intel_display_poller.c b/tools/intel_display_poller.c
index c501c79d6367..828ca52b35ee 100644
--- a/tools/intel_display_poller.c
+++ b/tools/intel_display_poller.c
@@ -901,7 +901,7 @@  static void poll_dsl_field(int pipe, uint32_t *min, uint32_t *max, const int cou
 
 static const char *test_name(enum test test, int pipe, int bit, bool test_pixel_count)
 {
-	static char str[32];
+	static char str[64];
 	const char *type = test_pixel_count ? "pixel" : "dsl";
 
 	switch (test) {