YueHaibing <yuehaibing@xxxxxxxxxx> wrote: > Replace calls to kmalloc followed by a memcpy with a direct call to > kmemdup. > > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx> Patch applied to ath-next branch of ath.git, thanks. 3f96556f639e wcn36xx: Use kmemdup instead of duplicating it in wcn36xx_smd_process_ptt_msg_rsp -- https://patchwork.kernel.org/patch/10541903/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches