diff options
| author | Nam Cao <namcaov@gmail.com> | 2022-10-25 11:12:24 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-31 09:08:30 +0100 |
| commit | 63b5e50571ce4d87cd6c1c4d99de74c9d86fd0d8 (patch) | |
| tree | b454b585db06f9f752b273dd6f24a7d3a08263c5 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | Revert "staging: r8712u: Tracking kmemleak false positives." (diff) | |
| download | linux-63b5e50571ce4d87cd6c1c4d99de74c9d86fd0d8.tar.gz linux-63b5e50571ce4d87cd6c1c4d99de74c9d86fd0d8.zip | |
staging: rtl8712: check for alloc fail in _r8712_init_recv_priv()
The function _r8712_init_recv_priv() and also r8712_init_recv_priv()
just returns silently if they fail to allocate memory. Change their
return type to int and add necessary checks and handling if they return
-ENOMEM
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Signed-off-by: Nam Cao <namcaov@gmail.com>
Link: https://lore.kernel.org/r/506ac35a667e511db568b06b86834fd0ceeba453.1666688642.git.namcaov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
