From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751439AbWFTWpV (ORCPT ); Tue, 20 Jun 2006 18:45:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751361AbWFTWpU (ORCPT ); Tue, 20 Jun 2006 18:45:20 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:49125 "EHLO mail.dvmed.net") by vger.kernel.org with ESMTP id S1751358AbWFTWpS (ORCPT ); Tue, 20 Jun 2006 18:45:18 -0400 Message-ID: <44987A6E.6010608@garzik.org> Date: Tue, 20 Jun 2006 18:45:02 -0400 From: Jeff Garzik User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: "Eric W. Biederman" CC: Andrew Morton , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-pci@atrey.karlin.mff.cuni.cz, discuss@x86-64.org, Ingo Molnar , Thomas Gleixner , Andi Kleen , Natalie Protasevich , Len Brown , Kimball Murray , Brice Goglin , Greg Lindahl , Dave Olson , Greg KH , Grant Grundler , "bibo,mao" , Rajesh Shah , Mark Maule , Jesper Juhl , Shaohua Li , Matthew Wilcox , "Michael S. Tsirkin" , Ashok Raj , Randy Dunlap , Roland Dreier , Tony Luck Subject: Re: [PATCH 5/25] msi: Make the msi boolean tests return either 0 or 1. References: <11508425183073-git-send-email-ebiederm@xmission.com> <11508425191381-git-send-email-ebiederm@xmission.com> <11508425192220-git-send-email-ebiederm@xmission.com> <11508425191063-git-send-email-ebiederm@xmission.com> <1150842520235-git-send-email-ebiederm@xmission.com> In-Reply-To: <1150842520235-git-send-email-ebiederm@xmission.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.1.3 on srv5.dvmed.net summary: Content analysis details: (-4.2 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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