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
e without a branch or cmov by itself.
> >>
> >> The result should be more readable, without a sparse warning and probably
> >> also
> >> faster for the common case.
> >>
> >> Reported-by: Bart Van Assche
> >> Reported-by: D
e without a branch or cmov by itself.
> >>
> >> The result should be more readable, without a sparse warning and probably
> >> also
> >> faster for the common case.
> >>
> >> Reported-by: Bart Van Assche
> >> Reported-by: D
Signed-off-by: Darryl T. Agostinelli
---
include/linux/slab.h | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/linux/slab.h b/include/linux/slab.h
index 918f374e7156..883b7f56bf35 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -317,6 +317,7
Signed-off-by: Darryl T. Agostinelli
---
include/linux/slab.h | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/linux/slab.h b/include/linux/slab.h
index 918f374e7156..883b7f56bf35 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -317,6 +317,7
5 matches
Mail list logo