I know that function calls should not normally be inside the BUG_ON params but what about sizeof? so would something like this work as intended: BUG_ON(expect != sizeof(foo)); also what about bit operations? so like BUG_ON(s & 3); would that still be ok since it doesn't actually modify the original value? -- -Stoyan -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ