Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752269AbcDZGHs (ORCPT ); Tue, 26 Apr 2016 02:07:48 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:35809 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751847AbcDZGHr (ORCPT ); Tue, 26 Apr 2016 02:07:47 -0400 Subject: Re: [PATCH] net: ethernet: davinci_emac: Fix devioctl while in fixed link To: Neil Armstrong , "David S. Miller" , Andrew Lunn , Tom Lendacky , , References: <1461606098-20057-1-git-send-email-narmstrong@baylibre.com> CC: Brian Hutchinson From: Mugunthan V N Message-ID: <571F05A2.8070502@ti.com> Date: Tue, 26 Apr 2016 11:37:30 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <1461606098-20057-1-git-send-email-narmstrong@baylibre.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 478 Lines: 13 On Monday 25 April 2016 11:11 PM, Neil Armstrong wrote: > When configured in fixed link, the DaVinci emac driver sets the > priv->phydev to NULL and further ioctl calls to the phy_mii_ioctl() > causes the kernel to crash. > > Cc: Brian Hutchinson > Fixes: 1bb6aa56bb38 ("net: davinci_emac: Add support for fixed-link PHY") > Signed-off-by: Neil Armstrong Reviewed-by: Mugunthan V N Regards Mugunthan V N