From patchwork Fri Apr 30 13:34:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Pemberton X-Patchwork-Id: 96003 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3UJ1hj6003610 for ; Fri, 30 Apr 2010 19:01:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933074Ab0D3S7j (ORCPT ); Fri, 30 Apr 2010 14:59:39 -0400 Received: from viridian.itc.Virginia.EDU ([128.143.12.139]:43828 "EHLO viridian.itc.virginia.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759084Ab0D3S7g (ORCPT ); Fri, 30 Apr 2010 14:59:36 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 30 Apr 2010 19:01:44 +0000 (UTC) X-Greylist: delayed 4114 seconds by postgrey-1.27 at vger.kernel.org; Fri, 30 Apr 2010 14:59:36 EDT Received: by viridian.itc.virginia.edu (Postfix, from userid 1249) id 1E78B409AF; Fri, 30 Apr 2010 09:34:38 -0400 (EDT) From: Bill Pemberton To: trivial@kernel.org Cc: linux-pci@vger.kernel.org Subject: [PATCH 01/11] PCI: make bitfields unsigned Date: Fri, 30 Apr 2010 09:34:28 -0400 Message-Id: <1272634478-4127-2-git-send-email-wfp5p@virginia.edu> X-Mailer: git-send-email 1.7.0.6 In-Reply-To: <1272634478-4127-1-git-send-email-wfp5p@virginia.edu> References: <1272634478-4127-1-git-send-email-wfp5p@virginia.edu> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 4eb10f4..f8077b3 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -244,7 +244,7 @@ struct pci_ats { int stu; /* Smallest Translation Unit */ int qdep; /* Invalidate Queue Depth */ int ref_cnt; /* Physical Function reference count */ - int is_enabled:1; /* Enable bit is set */ + unsigned int is_enabled:1; /* Enable bit is set */ }; #ifdef CONFIG_PCI_IOV