diff options
| author | 2019-07-31 09:19:21 -0500 | |
|---|---|---|
| committer | 2019-08-01 18:38:08 +0200 | |
| commit | 09acf29c8246a20c6e255969df7e1131317181da (patch) | |
| tree | 74233e9d82dfa20301088b73699fb2b6d333cd4b /tools/perf/scripts/python/stackcollapse.py | |
| parent | staging: rtl8723bs: remove set but not used variable 'bEEPROMCheck' (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 <navid.emamdoost@gmail.com>
Link: https://lore.kernel.org/r/20190731141925.29268-1-navid.emamdoost@gmail.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
