[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130331.194454.590712799179779794.davem@davemloft.net>
Date: Sun, 31 Mar 2013 19:44:54 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sergei.shtylyov@...entembedded.com
Cc: netdev@...r.kernel.org, nobuhiro.iwamatsu.yj@...esas.com,
linux-sh@...r.kernel.org
Subject: Re: [PATCH] sh_eth: make 'link' field of 'struct sh_eth_private'
*int*
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Date: Mon, 1 Apr 2013 00:11:04 +0400
> The 'link' field of 'struct sh_eth_private' has type 'enum phy_state' while the
> 'link' field of 'struct phy_device' is merely *int* (having values 0 and 1) and
> the former field gets assigned from the latter. Make the field match, getting
> rid of incorrectly used PHY_DOWN value in assignments/comparisons.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists