diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-04-21 18:49:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-25 11:26:30 +0100 |
commit | a00e41bf2f47343b8d0a265cc7710f89e9233dcd (patch) | |
tree | 9621e7e2474ffc1901806e02cf115ed1122124ca /Kconfig | |
parent | 60d78e9fce8886b403a21fecb0dd13f9c0f12e1f (diff) | |
download | linux-a00e41bf2f47343b8d0a265cc7710f89e9233dcd.tar.bz2 |
net: ethernet: mtk_eth_soc: add check for allocation failure
Check if the kzalloc() failed.
Fixes: 804775dfc288 ("net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED)")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions