aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2022-05-18 15:59:57 +0800
committerGreg Kroah-Hartman <[email protected]>2022-05-19 17:45:56 +0200
commitf94b47c6bde624d6c07f43054087607c52054a95 (patch)
treeb794a10f5097b4d0201344f3ddbdb23136ced9a5 /tools/perf/scripts/python/bin
parent455d5f02dc23f4e7a298b1f4acb5dc5457e08801 (diff)
staging: r8188eu: add check for kzalloc
As kzalloc() may return null pointer, it should be better to check the return value and return error if fails in order to avoid dereference of null pointer. Moreover, the return value of rtw_alloc_hwxmits() should also be dealt with. Fixes: 15865124feed ("staging: r8188eu: introduce new core dir for RTL8188eu driver") Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Jiasheng Jiang <[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')
0 files changed, 0 insertions, 0 deletions