aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorXiaoke Wang <[email protected]>2022-03-30 19:30:05 +0800
committerGreg Kroah-Hartman <[email protected]>2022-04-04 07:33:48 +0200
commit9fcee167d81c4121b620b0a885f766007a41e841 (patch)
tree909cce304695697aa05f10e80a3c43d09e4d51e1 /tools/perf/scripts/python/bin/stackcollapse-record
parentf6ca689d12dfcd8cf917de018391ae84d8a084f4 (diff)
staging: r8188eu: add a check for rtw_cbuf_alloc()
kmalloc() is called by rtw_cbuf_alloc() and it returns pointer of srtuct rtw_cbuf, NULL for allocation failure. So it is better to check the return value of it. Signed-off-by: Xiaoke Wang <[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