[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220211012954.1650997-1-chi.minghao@zte.com.cn>
Date: Fri, 11 Feb 2022 01:29:54 +0000
From: cgel.zte@...il.com
To: kvalo@...nel.org
Cc: cgel.zte@...il.com, chi.minghao@....com.cn, davem@...emloft.net,
kuba@...nel.org, linux-kernel@...r.kernel.org,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
wcn36xx@...ts.infradead.org, zealci@....com.cn
Subject: Re: [PATCH V2] wcn36xx: use struct_size over open coded arithmetic
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
Powered by blists - more mailing lists