Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 3 Mar 2003 04:46:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 3 Mar 2003 04:46:35 -0500 Received: from holomorphy.com ([66.224.33.161]:49810 "EHLO holomorphy") by vger.kernel.org with ESMTP id ; Mon, 3 Mar 2003 04:46:34 -0500 Date: Mon, 3 Mar 2003 01:56:43 -0800 From: William Lee Irwin III To: John Levon Cc: linux-kernel@vger.kernel.org, ambx1@neo.rr.com Subject: Re: [PATCH] Another bitop on boolean in pnpbios Message-ID: <20030303095643.GO1195@holomorphy.com> Mail-Followup-To: William Lee Irwin III , John Levon , linux-kernel@vger.kernel.org, ambx1@neo.rr.com References: <20030303054235.GA58427@compsoc.man.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030303054235.GA58427@compsoc.man.ac.uk> User-Agent: Mutt/1.3.25i Organization: The Domain of Holomorphy Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 545 Lines: 14 On Mon, Mar 03, 2003 at 05:42:35AM +0000, John Levon wrote: > #define pnpbios_is_static(x) ((x)->flags & 0x0100) == 0x0000 > -#define pnpbios_is_dynamic(x) (x)->flags & 0x0080 > +#define pnpbios_is_dynamic(x) ((x)->flags & 0x0080) pnpbios_is_static() could probably use the same treatment. -- wli - 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/