Search Linux Wireless

Re: [RFC v4 05/13] rtw88: mac files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Error check and it could be replaced by kmemdup.

Regards
Stanislaw



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux