Search Linux Wireless

Re: [PATCH -next v2] wifi: brcmsmac: Use kvmemdup to simplify the code

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

 



On August 21, 2024 8:55:44 AM Jinjie Ruan <ruanjinjie@xxxxxxxxxx> wrote:

Use kvmemdup instead of kvmalloc() + memcpy() to simplify the code.

No functional change.

Thanks

Acked-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx>
Signed-off-by: Jinjie Ruan <ruanjinjie@xxxxxxxxxx>
---
v2:
- Update the commit subject.
- Remove goto lablel and retun -ENOMEM instead.
---
.../net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c  | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)







[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