summaryrefslogtreecommitdiff
path: root/sound/soc/sof
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>2021-03-04 20:26:33 +0000
committerAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>2021-03-04 20:26:33 +0000
commitd51b217cf87d055293c6264175436a28945cdc80 (patch)
tree4a8815cdcbab7dfd061ddacbf700312e1743f1a6 /sound/soc/sof
parent13155f4c5e198e91b853f830447e7786241a4540 (diff)
parent7f324ea75baa059ea126cddd4141198895880a69 (diff)
Merge tag 'v5.4.102' into 5.4-2.3.x-imx
This is the 5.4.102 stable release Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Diffstat (limited to 'sound/soc/sof')
-rw-r--r--sound/soc/sof/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/debug.c b/sound/soc/sof/debug.c
index 5529e8eeca46..08726034ff09 100644
--- a/sound/soc/sof/debug.c
+++ b/sound/soc/sof/debug.c
@@ -135,7 +135,7 @@ static ssize_t sof_dfsentry_write(struct file *file, const char __user *buffer,
char *string;
int ret;
- string = kzalloc(count, GFP_KERNEL);
+ string = kzalloc(count+1, GFP_KERNEL);
if (!string)
return -ENOMEM;