diff options
| author | 2018-09-27 13:17:49 +0100 | |
|---|---|---|
| committer | 2018-09-28 14:30:52 +0200 | |
| commit | 8f6b8ed3b02e3202b062a0d786c1c623f64cad63 (patch) | |
| tree | 63c045d16cf477c35a2569f72090a6a6f69608ad /tools/perf/scripts/python/stackcollapse.py | |
| parent | staging: rtl8188eu: Skip unnecessary field checks (diff) | |
staging: wilc1000: fix incorrect allocation size for structure
Currently the allocation for str_vals is for the sizeof the pointer
rather than the size of the structure. Fix this.
Detected by smatch
"wilc_wlan_cfg_init() error: not allocating enough data 392 vs 8"
Fixes: acceb12a9f8b ("staging: wilc1000: refactor code to avoid static variables for config parameters")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
