diff options
| author | Navid Emamdoost <[email protected]> | 2019-07-31 09:19:21 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-08-01 18:38:08 +0200 |
| commit | 09acf29c8246a20c6e255969df7e1131317181da (patch) | |
| tree | 74233e9d82dfa20301088b73699fb2b6d333cd4b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 572d8be0d4dd2251396dca38d176354180be7683 (diff) | |
staging: rtl8192u: null check the kzalloc
In rtl8192_init_priv_variable allocation for priv->pFirmware may fail,
so a null check is necessary.priv->pFirmware is accessed later in
rtl8192_adapter_start. I added the check and made appropriate changes
to propagate the errno to the caller.
Signed-off-by: Navid Emamdoost <[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-record')
0 files changed, 0 insertions, 0 deletions