RE: [PATCH net-next 09/10] net/mlx4_en: Manage flow steering rules with ethtool From: David Laight <hidden> Date: 2012-07-02 10:21:14 quotedOr 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
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help