net: mvneta: Add missing hotplug notifier transition
authorAnna-Maria Gleixner <anna-maria@linutronix.de>
Fri, 11 Mar 2016 09:10:23 +0000 (10:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Mar 2016 19:22:10 +0000 (15:22 -0400)
commit0df83e7a6b58674683677f572e4e2361b2a69eea
treef88224e1ee7b564c37030c68bc66730c9533591c
parent7c82a7b998c6c6a2cb8a42aeb1d5d3450e51afb3
net: mvneta: Add missing hotplug notifier transition

The mvneta_percpu_notifier() hotplug callback lacks handling of the
CPU_DOWN_FAILED case. That means, if CPU_DOWN_PREPARE failes, the
driver is not well configured on the CPU.

Add handling for CPU_DOWN_FAILED[_FROZEN] hotplug notifier transition
to setup the driver.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c