[PATCH net-next 00/12] net: stmmac: replace boolean fields in plat_stmmacenet_data with flags

Jakub Kicinski kuba at kernel.org
Wed Jun 21 13:12:22 PDT 2023


On Wed, 21 Jun 2023 20:25:46 +0200 Bartosz Golaszewski wrote:
> As suggested by Jose Abreu: let's drop all 12 boolean fields in
> plat_stmmacenet_data and replace them with a common bitfield.

Is that what Jose meant, or:

-	bool has_integrated_pcs;
+	u32 has_integrated_pcs:1;

?



More information about the linux-arm-kernel mailing list