Christophe Jaillet <christophe.jaillet@xxxxxxxxxx> wrote: > In 'mwifiex_get_ver_ext', we have: > struct mwifiex_ver_ext ver_ext; > > memset(&ver_ext, 0, sizeof(struct host_cmd_ds_version_ext)); > > This is likely that memset'ing sizeof(struct mwifiex_ver_ext) was expected. > Remove the ambiguity by using the variable name directly instead of its > type. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> Thanks, 2 patches applied to wireless-drivers-next.git: ba852018d493 mwifiex: fix the length parameter of a memset 6a1622000ac9 mwifiex: simplify length computation for some memset -- Sent by pwcli https://patchwork.kernel.org/patch/9266889/