diff options
author | Ingo Molnar <mingo@kernel.org> | 2018-02-23 08:20:18 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-02-23 08:20:18 +0100 |
commit | 24e8db62c135e142e23bec597adb135bd6a8828f (patch) | |
tree | 2126fe037ff60851e778838f9b27edabe3b28f67 /drivers/platform/x86/wmi.c | |
parent | a66b86f0026b07b0ea7340e3690ac9fd5ac1499a (diff) | |
parent | 91ab883eb21325ad80f3473633f794c78ac87f51 (diff) |
Merge tag 'v4.16-rc2' into x86/platform, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/platform/x86/wmi.c')
-rw-r--r-- | drivers/platform/x86/wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c index daa68acbc900..c0c8945603cb 100644 --- a/drivers/platform/x86/wmi.c +++ b/drivers/platform/x86/wmi.c @@ -933,7 +933,7 @@ static int wmi_dev_probe(struct device *dev) goto probe_failure; } - buf = kmalloc(strlen(wdriver->driver.name) + 4, GFP_KERNEL); + buf = kmalloc(strlen(wdriver->driver.name) + 5, GFP_KERNEL); if (!buf) { ret = -ENOMEM; goto probe_string_failure; |