From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] net: axienet: Fix double deregister of mdio Date: Tue, 24 Jul 2018 16:38:28 -0700 (PDT) Message-ID: <20180724.163828.608956839426957886.davem@davemloft.net> References: <1532407193-21637-1-git-send-email-shubhrajyoti.datta@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, michal.simek@xilinx.com, linux-kernel@vger.kernel.org, shubhrajyoti.datta@xilinx.com To: shubhrajyoti.datta@gmail.com Return-path: In-Reply-To: <1532407193-21637-1-git-send-email-shubhrajyoti.datta@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Date: Tue, 24 Jul 2018 10:09:53 +0530 > From: Shubhrajyoti Datta > > If the registration fails then mdio_unregister is called. > However at unbind the unregister ia attempted again resulting > in the below crash ... > Fix the same by making the bus NULL on unregister. > > Signed-off-by: Shubhrajyoti Datta Applied, thank you.