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

Re: [PATCH] Fix compilation error with gcc13


  • To: Anthony Perard <anthony.perard@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 6 Jul 2022 11:11:07 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=KE6Grxf+1a7v6F27dwuW/AekNTIBe60veUrGoloN0qA=; b=a3wTgL34k0TfgFzpCcFF7U8ZwoxM6AkaQxplm3A3G39tU0r2wgLg3evngd/MU3J23V8TYQgV0jorqdsvFFTcccCaTKBQtLcGASQbHxGQcbHT2MaNBkEGIfaebpdpvmFxWV+4XoyvYQrzrgO00l/gA4q3DaswRle7EhNfVwrKMfqNIXJyGhrguj9tz4C6zaocRVaQ0hyWguf43Q+kJOE1Q0DZSwiMAZ4VTAkKXXN6uodQRVFKZYcbUTKLR/JqbRTtKvA7/VHDW4Jtd1H5yhPv7kSaPXUqAygFawTquoKoVGohkqOpqC24e0Jane8SovLWdxewIS4AsNX87V7HqDVdOA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DK/pIxZj3a8Q8oCReky6g278JlnfhAuk2twxzOZXq3u3GLe/np34Gp/CquZmQQnAbBfaeQ6Dh7EoV43W2QDEx2rfQxiHA5uT3rc0wtQpJLtHibY40A3asUxRNcEIYT2D9AZJjA1/OUT8uOeI3yVvzo2iAmFHNnJcVpCNx8C7HBL784Pew4OJebg5Xn6CDgJFrooQBJZJ1chVAxfzRkE+tFiGkrm3QbE8ZETZRtrJGk1zSGii+oe8pSgxh/DNwOaYu230VKU7ivBRVoxp9ZxQsYOaJn8jNl4ymvYTHdv/hZj/hf7ToeIXR8t/ttnubG1ei3baraCYhDawrzLHOI98Mg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, Juergen Gross <jgross@xxxxxxxx>, Wei Liu <wl@xxxxxxx>, Charles Arnold <carnold@xxxxxxxx>
  • Delivery-date: Wed, 06 Jul 2022 09:11:16 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 29.06.2022 08:29, Jan Beulich wrote:
> (Cc-ing maintainers / reviewers)
> 
> On 28.06.2022 18:09, Charles Arnold wrote:
>>  From 359f490021e69220313ca8bd2981bad4fcfea0db Mon Sep 17 00:00:00 2001
>> From: Charles Arnold <carnold@xxxxxxxx>
>> Date: Tue, 28 Jun 2022 09:55:28 -0600
>> Subject: Fix compilation error with gcc13.
>>
>> xc_psr.c:161:5: error: conflicting types for 'xc_psr_cmt_get_data'
>> due to enum/integer mismatch;
>>
>> Signed-off-by: Charles Arnold <carnold@xxxxxxxx>
> 
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> The subject would benefit from having a "libxc: " prefix, to know at
> the first glance which component is being touched.
> 
>> --- a/tools/include/xenctrl.h
>> +++ b/tools/include/xenctrl.h
>> @@ -2520,7 +2520,7 @@ int xc_psr_cmt_get_l3_event_mask(xc_interface 
>> *xch, uint32_t *event_mask);
>>   int xc_psr_cmt_get_l3_cache_size(xc_interface *xch, uint32_t cpu,
>>                                    uint32_t *l3_cache_size);
>>   int xc_psr_cmt_get_data(xc_interface *xch, uint32_t rmid, uint32_t cpu,
>> -                        uint32_t psr_cmt_type, uint64_t *monitor_data,
>> +                        xc_psr_cmt_type type, uint64_t *monitor_data,
>>                           uint64_t *tsc);
>>   int xc_psr_cmt_enabled(xc_interface *xch);
>>
> 
> The patch looks slightly garbled, reminding me of how things looked
> for me before I adjusted TB configuration accordingly. I'd be fine
> hand-editing the patch while committing, if no other need arises for
> a v2 (and of course once a maintainer ack has been provided).

Anthony - any chance of getting an ack on this pretty straightforward
change (which I also consider a backporting candidate)?

Thanks, Jan



 


Rackspace

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