[PATCH V2] wcn36xx: use struct_size over open coded arithmetic
cgel.zte at gmail.com
cgel.zte at gmail.com
Thu Feb 10 17:29:54 PST 2022
change log:
v1: msg_ind = kmalloc(struct_size(*msg_ind, msg, len), GFP_ATOMIC);
v2: msg_ind = kmalloc(struct_size(msg_ind, msg, len), GFP_ATOMIC);
thanks
Minghao
More information about the wcn36xx
mailing list