summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2022-05-18 15:59:57 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-19 17:45:56 +0200
commitf94b47c6bde624d6c07f43054087607c52054a95 (patch)
treeb794a10f5097b4d0201344f3ddbdb23136ced9a5 /.gitattributes
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 <dan.carpenter@oracle.com> Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Link: https://lore.kernel.org/r/20220518075957.514603-1-jiasheng@iscas.ac.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions