From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752771AbbGNWfn (ORCPT ); Tue, 14 Jul 2015 18:35:43 -0400 Received: from mail-oi0-f47.google.com ([209.85.218.47]:33044 "EHLO mail-oi0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751961AbbGNWfl (ORCPT ); Tue, 14 Jul 2015 18:35:41 -0400 Date: Tue, 14 Jul 2015 17:35:37 -0500 From: Bjorn Helgaas To: Yinghai Lu Cc: Kees Cook , "H. Peter Anvin" , Baoquan He , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH 35/42] x86, boot, PCI: Convert SETUP_PCI data to list Message-ID: <20150714223537.GQ24416@google.com> References: <1436300428-21163-1-git-send-email-yinghai@kernel.org> <1436300428-21163-36-git-send-email-yinghai@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436300428-21163-36-git-send-email-yinghai@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 07, 2015 at 01:20:21PM -0700, Yinghai Lu wrote: > So we could avoid ioremap every time later. The changelog (not just the subject) should say what you're doing. > diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c > index 16ace12..32d4f21 100644 > --- a/arch/x86/pci/common.c > +++ b/arch/x86/pci/common.c > +struct firmware_setup_pci_entry { > + struct list_head list; > + uint16_t vendor; > + uint16_t devid; > + uint64_t pcilen; Is there a reason to use uint16_t and uint64_t instead of u16 and u64? > + unsigned long segment; > + unsigned long bus; > + unsigned long device; > + unsigned long function; > + phys_addr_t romdata; > +};