diff options
| author | Minghao Chi (CGEL ZTE) <[email protected]> | 2022-02-16 03:08:41 +0000 |
|---|---|---|
| committer | Luca Coelho <[email protected]> | 2022-02-18 10:40:55 +0200 |
| commit | 1132f6de0b857ee57fb3cb01bcdbe24db5e6dd46 (patch) | |
| tree | 8c80638a301b6fb690113bd12f0e3f77ad10f026 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 990c27425686c4c17ba42c2c6eb80c8c80a51327 (diff) | |
iwlwifi/fw: use struct_size over open coded arithmetic
Replace zero-length array with flexible-array member and make use
of the struct_size() helper in kzalloc().
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Minghao Chi (CGEL ZTE) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions