]> git.baikalelectronics.ru Git - kernel.git/commit
lan78xx: Fix memory allocation bug
authorJohn Efstathiades <john.efstathiades@pebblebay.com>
Thu, 18 Nov 2021 11:01:34 +0000 (11:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Nov 2021 12:11:50 +0000 (12:11 +0000)
commit3cd046c1a2937db42be1e858b25f4cd53b4fc9a9
treef3958655c766c38e7d3e247e55628e9b93fb8696
parent63ca0029ba56f76341c98c6f69e8a970bee727bc
lan78xx: Fix memory allocation bug

Fix memory allocation that fails to check for NULL return.

Signed-off-by: John Efstathiades <john.efstathiades@pebblebay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c