|
|
RE: [PATCH net-next 09/10] net/mlx4_en: Manage flow steering rules with ethtool |
> > Or write it as (!field || !(typeof(field))~field) which more closely > > resembles what the macro name expresses. > > Better still, or maybe: > > field == 0 || field == (typeof field)~0 Which doesn't work when sizeof(field) > sizeof(int). Needs another cast. field == 0 || field == (typeof field)~(typeof field)0 David -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel Discussion] [Ethernet Bridging] [Linux Wireless Networking] [Linux Bluetooth Networking] [Linux Networking Users] [VLAN] [Git] [IETF Annouce] [Linux Assembly] [Security] [Bugtraq] [Photo] [Singles Social Networking] [Yosemite Information] [MIPS Linux] [ARM Linux Kernel] [ARM Linux] [Linux Virtualization] [Linux Security] [Linux IDE] [Linux RAID] [Linux SCSI] [Free Dating]
![]() |
![]() |