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

Re: [PATCH] PCI/regs: minimal adjustments for Misra rule 7.2


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Mon, 2 Feb 2026 15:56:19 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=Nz6C5tG4To8W5aMpVWMeIxuUDN6TfPfKJnLwWtdg1Cg=; b=tvE82B+2Fy3vE6ncEx//4uLcaK40WelSJ447VJzflGvensRkRHiincpuZMhZ4K3B4OePrISFaiZLzmUuzwkwWIw2SIuXXiRo/PksfJHqxFUpEtcVf8uhsbEuYCYXGuB0s8cfEOQycWSF9in3P2axj78FCRdw95xPkRUeiItQ+eVHg6mNNT9RlQN1ZUdYvnDTZU3gSYUIoMoWZsafQEwrOZbWWHK6EUuvkgwwnYclG5DZog+IDj4bfcyzx2cMkGZASc5AJtDSC4KzDWMrXlxGyhnM0Ib9q92C6TSRGf3AZnRXNbrt2/Uh6gE+TlTkdsTOGjpiH9pjaXlswWuDVbSGoA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cV3oaWzdFx92uZ+OzmiVbZdTYQPl/Ps67fnXGh9/utzPV6t6/M1DbRx7eOb2tmUg+AahEo0CXIr5AabLDSYGw1PjT0eSh1aQK0dUxpAvYISgjfKhTHgdJMaPjFdon7ICKfnLciP0bVgTIGAmgWYp/zMgSIFfrlwPdpmzj+3BoVHhKCcx4BAQ525nadOgkL6EjJjzUtRdnR8sbwvl3+FVHCOyakcomhxPsaOV+kihA9hz/9mILf711BompE8KXZmV38elmSEqpv+1I2K+Smpc+R3eE496Pwp03B0nTIFS6inaEdVB6Vd9VWmpj8uhMskJewrQor2TMsznBo1d+N0mfA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>
  • Delivery-date: Mon, 02 Feb 2026 14:56:38 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Mon, Feb 02, 2026 at 03:43:05PM +0100, Jan Beulich wrote:
> As was recently noticed with PCI_X_STATUS_533MHZ, leaving presently unused
> #define-s in non-Misra-compliant shape (7.2 is "A `u' or `U' suffix shall
> be applied to all integer constants that are represented in an unsigned
> type") is putting new code actually using any of the constants at risk of
> then causing Misra scan failures in CI. Adjust those few constants which
> strictly require a suffix.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks, Roger.



 


Rackspace

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