[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] xen/arm: fix build with HAS_PCI


  • To: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Orzel, Michal" <michal.orzel@xxxxxxx>
  • Date: Tue, 10 Jun 2025 16:29:02 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4MpQqWueoqx+vif+WSO7hSWpdvQfqgL+pblYKOdJV8I=; b=xxl9tXs5tXZSP6aIPNHtomeNZV/EQ+etgGL+hOBzJMQZo/OHmVC24SWxKOLWtvcux8LgopI163awyeGt/cR97BN4FcAymKr62/LR//8foDe4RPCbrYvYoHV8l35o43oBqnkqH9no6RD5LlYWwR4x6B3jrgOrMyguYF+oAcPwHM5s5O/JyGgDYNJNsVZqolg91VK4h17GqmDCkZLjnltK9Ouadhinq4QWqPkSyRUovliKaVPa52v7qTlfqdC6x2ABdfzU+LZqOHgZxnpHUQ6ZVi60Y72KqWLd2XaceFnFmzrCu7bYVob1Ek33m4AyaOvzn5rLqKWVaK2pqjKk+5pkrg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DHTvGQEgXLChwax2kEvPACD0IgZwgitBuNM/SekLEpHSWsDz76dSgXJSj4kBQUc3rm8e+QV32woWtkSJWm0hVye5R8AJNl80HSv1O7eUcp+ASJojfZg2RfBkU69+nvqcFuAPODQGrRtXl868mFuor4zwNm0XzLJLaRrgv/H7UiHbeEWq1wVaGPJZ8FUOd50Sws3DFn9r76vm+/FVfmSZkURoINAeMmHViDwgwb43ZIT3HOqAV0cac1Z2nXymtx6Ff+y4TehjcWkJ/EigEgk9Rah0BXTBn7OfxBfQigLY07p4DPao2Lt6eiO7QJJ4Dgm9eYOFkKvkus/lZBak+MEBDQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Tue, 10 Jun 2025 14:29:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 10/06/2025 16:22, Stewart Hildebrand wrote:
> In file included from ./include/xen/pci.h:72,
>                  from drivers/pci/pci.c:8:
> ./arch/arm/include/asm/pci.h:131:50: error: ‘struct rangeset’ declared inside 
> parameter list will not be visible outside of this definition or declaration 
> [-Werror]
>   131 | static inline int pci_sanitize_bar_memory(struct rangeset *r)
>       |                                                  ^~~~~~~~
> cc1: all warnings being treated as errors
> 
> Fixes: 4acab25a9300 ("x86/vpci: fix handling of BAR overlaps with non-hole 
> regions")
> Signed-off-by: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>

~Michal




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.