diff options
| author | Michael Straube <[email protected]> | 2021-12-07 15:04:05 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-12-09 08:56:35 +0100 |
| commit | d904512db6f372759ecd1c8f92e689e63af2f03a (patch) | |
| tree | aad385ada536814716babe29f9218d25405bbf4f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | b07f55053557946d77d33ff6bc854058bb10621c (diff) | |
staging: r8188eu: convert type of HalData in struct adapter
adapter->HalData is used in the GET_HAL_DATA macro all across the
driver code but nobody checks if its allocation in
rtl188eu_alloc_haldata() was successful or not.
To avoid errors when the allocation fails convert the type of field
HalData from void pointer to struct hal_data_8188eu. Remove
GET_HAL_DATA, rtl8188eu_alloc_haldata(), rtl8188e_free_hal_data().
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Michael Straube <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions