]> git.baikalelectronics.ru Git - kernel.git/commit
arcnet: com20020-pci: Fix an error handling path in 'com20020pci_probe()'
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Fri, 7 Jul 2017 04:56:16 +0000 (06:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Jul 2017 08:29:10 +0000 (09:29 +0100)
commitff82d897bc3964fb9ade9966d7a5eff1b3219d18
tree18ff9f2766b5e23ffce18dc2f914f486c27b2fb4
parentae1a1178d795ebc7a7d6ce3adda28f5568535708
arcnet: com20020-pci: Fix an error handling path in 'com20020pci_probe()'

If this memory allocation fails, we should go through the error handling
path as done everywhere else in this function before returning.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arcnet/com20020-pci.c