aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/dma-buf/sync_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma-buf/sync_debug.c b/drivers/dma-buf/sync_debug.c
index c769dc653b34..a0d780ab68c3 100644
--- a/drivers/dma-buf/sync_debug.c
+++ b/drivers/dma-buf/sync_debug.c
@@ -110,7 +110,7 @@ static void sync_print_fence(struct seq_file *s,
110 } 110 }
111 } 111 }
112 112
113 seq_puts(s, "\n"); 113 seq_putc(s, '\n');
114} 114}
115 115
116static void sync_print_obj(struct seq_file *s, struct sync_timeline *obj) 116static void sync_print_obj(struct seq_file *s, struct sync_timeline *obj)
@@ -161,7 +161,7 @@ static int sync_debugfs_show(struct seq_file *s, void *unused)
161 sync_timeline_list); 161 sync_timeline_list);
162 162
163 sync_print_obj(s, obj); 163 sync_print_obj(s, obj);
164 seq_puts(s, "\n"); 164 seq_putc(s, '\n');
165 } 165 }
166 spin_unlock_irqrestore(&sync_timeline_list_lock, flags); 166 spin_unlock_irqrestore(&sync_timeline_list_lock, flags);
167 167
@@ -173,7 +173,7 @@ static int sync_debugfs_show(struct seq_file *s, void *unused)
173 container_of(pos, struct sync_file, sync_file_list); 173 container_of(pos, struct sync_file, sync_file_list);
174 174
175 sync_print_sync_file(s, sync_file); 175 sync_print_sync_file(s, sync_file);
176 seq_puts(s, "\n"); 176 seq_putc(s, '\n');
177 } 177 }
178 spin_unlock_irqrestore(&sync_file_list_lock, flags); 178 spin_unlock_irqrestore(&sync_file_list_lock, flags);
179 return 0; 179 return 0;