aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorNam Cao <[email protected]>2022-10-25 11:12:24 +0200
committerGreg Kroah-Hartman <[email protected]>2022-10-31 09:08:30 +0100
commit63b5e50571ce4d87cd6c1c4d99de74c9d86fd0d8 (patch)
treeb454b585db06f9f752b273dd6f24a7d3a08263c5 /tools/perf/scripts/python/libxed.py
parentc5a7eecdcdb6c9d3a907ee66db2b5cffc8bdb4e1 (diff)
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 <[email protected]> Signed-off-by: Nam Cao <[email protected]> Link: https://lore.kernel.org/r/506ac35a667e511db568b06b86834fd0ceeba453.1666688642.git.namcaov@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions