From dcd111c96e4ddf88f5934f4fca0b12a599d3d5c0 Mon Sep 17 00:00:00 2001 From: Divya Ponnusamy Date: Thu, 9 Jun 2016 16:04:15 +0530 Subject: [PATCH] base: sync: Increase char buffer size to get accurate fence name Increase the char buffer size for the sync fence name from 32 to 64. This makes it possible for drivers to use a longer, more descriptive name for sync_fence, which improves the readability of the sync dump in debugfs. Change-Id: I8a54ec1c7b95764fe3a39f00ce392fddcfd261f1 Signed-off-by: Divya Ponnusamy --- drivers/staging/android/sync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/sync.h b/drivers/staging/android/sync.h index 61f8a3aede96..0b5fb0cad9fd 100644 --- a/drivers/staging/android/sync.h +++ b/drivers/staging/android/sync.h @@ -154,7 +154,7 @@ struct sync_fence_cb { struct sync_fence { struct file *file; struct kref kref; - char name[32]; + char name[64]; #ifdef CONFIG_DEBUG_FS struct list_head sync_fence_list; #endif