]> 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)
commit01c3521f794ce945c586f99e93058df97358a8b6
tree18ff9f2766b5e23ffce18dc2f914f486c27b2fb4
parentdf7c7dd2509f5f8e1f230ac71dfbf2846cc1dc0f
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