[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120123.144630.654662337465759134.davem@davemloft.net>
Date: Mon, 23 Jan 2012 14:46:30 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bhutchings@...arflare.com
Cc: florian@...nwrt.org, cphealy@...il.com, ben@...adent.org.uk,
buytenh@...tstofly.org, netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] dsa: Add reporting of silicon revision for Marvell
88E6123/88E6161/88E6165 switches.
From: Ben Hutchings <bhutchings@...arflare.com>
Date: Mon, 23 Jan 2012 19:35:32 +0000
> On Mon, 2012-01-23 at 13:59 -0500, David Miller wrote:
>> From: Florian Fainelli <florian@...nwrt.org>
>> Date: Mon, 23 Jan 2012 10:48:10 +0100
>>
>> > On 01/23/12 08:20, Chris Healy wrote:
>> >> + if ((ret& 0xfff0) == 0x1650)
>> >> return "Marvell 88E6165";
>> >> }
>> >
>> > What about a switch/case here?
>>
>> I don't think you can express "(ret& 0xfff0) == 0x1650)" using
>> a switch statement.
>>
>> But BTW, the formatting of that expression needs to be cleaned up.
>> It should be "(ret & 0xfff0) == 0x1650)"
>
> Florian's mailer has mangled the quoted text; the original patch had
> correct spacing.
Thanks for pointing that out, then the patch is fine, 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