aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/wil6210/debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c
index fbe27a34e146..3830cc20d4fa 100644
--- a/drivers/net/wireless/ath/wil6210/debugfs.c
+++ b/drivers/net/wireless/ath/wil6210/debugfs.c
@@ -626,7 +626,7 @@ static ssize_t wil_write_back(struct file *file, const char __user *buf,
626 struct wil6210_priv *wil = file->private_data; 626 struct wil6210_priv *wil = file->private_data;
627 int rc; 627 int rc;
628 char *kbuf = kmalloc(len + 1, GFP_KERNEL); 628 char *kbuf = kmalloc(len + 1, GFP_KERNEL);
629 char cmd[8]; 629 char cmd[9];
630 int p1, p2, p3; 630 int p1, p2, p3;
631 631
632 if (!kbuf) 632 if (!kbuf)