Thread (24 messages) flat view 24 messages, 5 authors, 2017-06-08
STALE3393d

Re: [PATCH 4/9] net: mvmdio: move the read valid check into its own function

From: Antoine Tenart <hidden>
Date: 2017-06-07 14:43:08
Also in: linux-arm-kernel

Hello,

On Wed, Jun 07, 2017 at 01:00:21PM +0300, Sergei Shtylyov wrote:
On 6/7/2017 11:38 AM, Antoine Tenart wrote:
quoted
-	val = readl(dev->regs);
-	if (!(val & MVMDIO_SMI_READ_VALID)) {
+	if (orion_mdio_smi_is_read_valid(dev)) {
 		dev_err(bus->parent, "SMI bus read not valid\n");
   I think you reversed the valuid/invalid sense in the new function's name.
Good catch, I'll fix this.

Thanks!
Antoine

-- 
Antoine Ténart, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help