Message ID | 20220202070906.GA274379@embeddedor (mailing list archive) |
---|---|
State | Mainlined |
Commit | b47f6db34c296343a22c9db4ebdcc51d92301dbe |
Headers | show |
Series | [v3,next] staging: r8188eu: Silence out-of-bounds warning in HT_caps_handler() | expand |
On Wed, Feb 02, 2022 at 01:09:06AM -0600, Gustavo A. R. Silva wrote: > Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> > Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Thanks! regards, dan carpenter
diff --git a/drivers/staging/r8188eu/include/wlan_bssdef.h b/drivers/staging/r8188eu/include/wlan_bssdef.h index 99ca097b8edd..9d1c9e763287 100644 --- a/drivers/staging/r8188eu/include/wlan_bssdef.h +++ b/drivers/staging/r8188eu/include/wlan_bssdef.h @@ -61,7 +61,7 @@ struct ndis_802_11_fixed_ie { struct ndis_802_11_var_ie { u8 ElementID; u8 Length; - u8 data[1]; + u8 data[]; }; /*