]> 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)
commita44e20f15894b29d339f2131bbf6e702836dd49a
tree18ff9f2766b5e23ffce18dc2f914f486c27b2fb4
parentecd97472eb6d06ef1a963084e13e79cff94b7ca6
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