Re: [PATCH] staging: rtl8192u avoid flex array of flex array

2021-03-02 Thread Greg KH
On Sat, Feb 27, 2021 at 07:06:14PM -0600, Darryl T. Agostinelli wrote: > Undo the flex array in struct ieee80211_info_element. It is used as the flex > array type in other structs (creating a flex array of flex arrays) making > sparse unhappy. This change maintains the intent of the code and sati

Re: [PATCH] staging: rtl8192u avoid flex array of flex array

2021-02-28 Thread Dan Carpenter
On Sat, Feb 27, 2021 at 07:06:14PM -0600, Darryl T. Agostinelli wrote: > Undo the flex array in struct ieee80211_info_element. It is used as the flex > array type in other structs (creating a flex array of flex arrays) making > sparse unhappy. This change maintains the intent of the code and sati

[PATCH] staging: rtl8192u avoid flex array of flex array

2021-02-27 Thread Darryl T. Agostinelli
Undo the flex array in struct ieee80211_info_element. It is used as the flex array type in other structs (creating a flex array of flex arrays) making sparse unhappy. This change maintains the intent of the code and satisfies sparse. Signed-off-by: Darryl T. Agostinelli --- drivers/staging/rtl