lkml.org 
[lkml]   [2006]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/25] msi: Make the msi boolean tests return either 0 or 1.
Eric W. Biederman wrote:
> This allows the output of the msi tests to be stored directly
> in a bit field. If you don't do this a value greater than
> one will be truncated and become 0. Changing true to false
> with bizare consequences.

Another example of why bit fields are a pain in the butt...

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-21 00:47    [W:0.415 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site