On Sat, Oct 13, 2018 at 05:00:37PM +0800, yhchu...@realtek.com wrote:
> +     buf = kmalloc(size, GFP_KERNEL);
> +     memcpy(buf, data, size);

Error check and it could be replaced by kmemdup.

Regards
Stanislaw

Reply via email to