Re: [PATCH] net: phy: replace bool members in struct phy_device with bit-fields

2018-05-24 Thread David Miller
From: Heiner Kallweit Date: Wed, 23 May 2018 08:05:20 +0200 > In struct phy_device we have a number of flags being defined as type > bool. Similar to e.g. struct pci_dev we can save some space by using > bit-fields. > > Signed-off-by: Heiner Kallweit Applied to net-next, thanks.

Re: [PATCH] net: phy: replace bool members in struct phy_device with bit-fields

2018-05-23 Thread Andrew Lunn
On Wed, May 23, 2018 at 08:05:20AM +0200, Heiner Kallweit wrote: > In struct phy_device we have a number of flags being defined as type > bool. Similar to e.g. struct pci_dev we can save some space by using > bit-fields. > > Signed-off-by: Heiner Kallweit Reviewed-by: Andrew Lunn Andrew

[PATCH] net: phy: replace bool members in struct phy_device with bit-fields

2018-05-22 Thread Heiner Kallweit
In struct phy_device we have a number of flags being defined as type bool. Similar to e.g. struct pci_dev we can save some space by using bit-fields. Signed-off-by: Heiner Kallweit --- include/linux/phy.h | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git