From: Petri Gynther Date: Mon, 30 Mar 2015 07:29:13 +0000 (-0700) Subject: net: bcmgenet: fix bcmgenet_open() X-Git-Tag: omap-for-v4.2/o2_dc~131^2~108^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fac25940c5e0d6f31d56bb2a704fadad6d5e382a;p=pandora-kernel.git net: bcmgenet: fix bcmgenet_open() If bcmgenet_init_dma() fails, it cleans up after itself. Rx and Tx DMAs are off, and NAPI instances haven't been netif_napi_add()'ed. Therefore, we need to skip calling bcmgenet_fini_dma() on the error handling path. bcmgenet_resume() already does this correctly. Signed-off-by: Petri Gynther Signed-off-by: David S. Miller --- Reading git-diff-tree failed