aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <[email protected]>2021-02-11 15:50:26 +0500
committerGreg Kroah-Hartman <[email protected]>2021-02-11 13:53:07 +0100
commit5e911c3d9dbc96b3e55fe1695107aff3671f53bd (patch)
tree9580855f3bbf9f8d3c22cd9c913b57d0e44734c0 /tools/perf/scripts/python/check-perf-trace.py
parentbc8392e33d9a6f38e5370815c8d21e3be7e57d8a (diff)
staging: wfx: avoid defining array of flexible struct
In this particular case, the struct element is already flexible struct. Thus struct element ie[] is ambiguous inside another struct. The members of struct element ie aren't being accessed in code anywhere. The data of u8 type is copied in it. So it has been changed to u8 ie[] to make the sparse happy and code simple. Warning from sparse: drivers/stagingwfx/hif_tx.c: note: in included file (through drivers/stagingwfx/data_tx.h, drivers/staging//wfx/wfx.h): drivers/staging//wfx/hif_api_cmd.h:103:26: warning: array of flexible structures Reviewed-by: Jérôme Pouiller <[email protected]> Signed-off-by: Muhammad Usama Anjum <[email protected]> Link: https://lore.kernel.org/r/20210211105026.GA45458@LEGION Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions