Merge Mainline

This commit is contained in:
CN_SZTL 2020-08-19 01:07:23 +08:00
commit 848f964c9f
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -480,7 +480,7 @@ static int hc_wlan_data_unpack_lzor(const u8 *inbuf, size_t inlen,
/* Temporary buffer same size as the outbuf */
templen = *outlen;
tempbuf = kmalloc(templen, GFP_KERNEL);
if (!outbuf)
if (!tempbuf)
return -ENOMEM;
/* Concatenate into the outbuf */