[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181109.201222.2135261652942693940.davem@davemloft.net>
Date: Fri, 09 Nov 2018 20:12:22 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: hkallweit1@...il.com
Cc: andrew@...n.ch, f.fainelli@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next] net: phy: improve struct phy_device member
interrupts handling
From: Heiner Kallweit <hkallweit1@...il.com>
Date: Fri, 9 Nov 2018 18:35:52 +0100
> As a heritage from the very early days of phylib member interrupts is
> defined as u32 even though it's just a flag whether interrupts are
> enabled. So we can change it to a bitfield member. In addition change
> the code dealing with this member in a way that it's clear we're
> dealing with a bool value.
>
> Signed-off-by: Heiner Kallweit <hkallweit1@...il.com>
> ---
> v2:
> - use false/true instead of 0/1 for the constants
Applied.
Powered by blists - more mailing lists