[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] x86/vpmu: Fix incorrect printk format specifiers
- To: "Andrew Cooper" <andrew.cooper3@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: "Alejandro Vallejo" <alejandro.garciavallejo@xxxxxxx>
- Date: Mon, 21 Sep 2026 12:33:40 +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=hUGcZx9JMM0CLlYcat79eCQxbX9srWdY91u4plhDTHs=; b=EUkYv1Qaylsk4mJa5usppPLmc6LWCw/nM93V/66ECKmPNSZsnVt3AoaMHNNo3wpdnhPvlB8CZNAy6Tr3+LPWfBylkmk/H+b9MU5ajOo1l46yu/lMi8zfYP0tBvi7No340Bp05ziwbMVSSq7A/EHpULLIMFQhh3Ta0MDfJTDvZYFPC1EkCZzVXRqcvWkpRvTxt9Ai9hGk+tBxEC0p3bSWn8VHxgPV26K3xkHOe4F3ogpVj8tiwCBs8byK5yjSYc4mozUq4B1xFPQI63u2cVylGIL56M4O6O4FdMOgxhpW0jogMj3ZNZBBBtm96wgAW5Hxj5UVuHfGOtdNrwaRNd2A2w==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Wb185xC2RV/lH2iVx6cGcXNmSCc1iwYTXJBJ5YdOioEYGR271Ko57Zw4aMHkefcTlR1dTK9+gLApR/g2Na2lE1DzywhlHexqGQX7iAgi/gZzJ+F4F5LEygReRsiN6EdE3dSU4TW+DU5cxNIdp7AMH3UhI2QgPwSPRgEgz3OuWI+QrOeffTFOq3goH+KPGKM42YuOZb+vGXGby1fV2Cwk8dao7eJOHVZ6UlnBETj0/7Um2+0VT9JMeTjLys8wAkiqOG1rapBMFH1mTIQlAtY3V2NXu8RxrjGSpz1VK1fjAzpJYpgA9BrWzxw5EWIYEpljHdbjcdHI2ns//EXeuib/ag==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-Id:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
- Cc: "Jan Beulich" <jbeulich@xxxxxxxx>, Roger Pau Monné <roger@xxxxxxxxxxxxxx>, "Teddy Astie" <teddy.astie@xxxxxxxxxx>
- Delivery-date: Mon, 21 Sep 2026 10:34:08 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Mon Sep 21, 2026 at 11:30 AM CEST, Andrew Cooper wrote:
> On 21/09/2026 10:16 am, Alejandro Vallejo wrote:
> > The patch in Fixes adjusted two vendor variables from uint8_t and plain
> > int to to unsigned int. But they were both used later in printks with
> > the %d specifier rather than %u. Adjust accordingly.
> >
> > Fixes: 39a9a49449d7 ("x86: Remove x86 prefixed names from x86/cpu/ files")
> > Signed-off-by: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
>
> If this is going to be a problem, then shouldn't we turn
> -Wformat-signedness on?
I tried that before sending, but that needs a whole new series. Things
are not quite as clean as I'd hope.
>
> For the patch, Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Thanks
Alejandro
|