Pei Xiao <xiaopei01@xxxxxxxxxx> writes: > kmalloc may fail, return value might be NULL and will cause > NULL pointer dereference. Add check NULL return of kmalloc in > btc_fw_set_monreg(). > > Signed-off-by: Pei Xiao <xiaopei01@xxxxxxxxxx> > Fixes: b952cb0a6e2d ("wifi: rtw89: coex: Add register monitor report v7 format") When you submit v2 please include a list of changes from v1. No need to resend because of this but please read the documentation below. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches