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

Re: [XEN PATCH][for-next v2 5/8] x86/io_apic: address violation of MISRA C:2012 Rule 10.1


  • To: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 16 Oct 2023 17:42:48 +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=14n3ySF+i1IfwaNUMXlIHi/QBV0HBoFpjh+KJDaDLTs=; b=QpdEMrqEk6KdvnXwvNjqOhJ9XwP3uQ6oDG7BZ1aOJuAvhjPcG3+rbiPLecHrtqdMtLl0yfRNP7RZYH8gBlT7sGqiiuHNzVab6GNge7HJKUIG39RWAdcMm12FHpzRQg/uolPFB2yb4Mbgru5XCgpz7Q5ipyNav22elJt2e+hzFKaRaHI+/SB8kH5Q+x1SxFGTU7TB/mSFiC7k49lCWLLh0v9fQjR5Ogw/2IJKUcBiFyu/T+8PelQpdViZbBjzjh6pn2KC1N3KCi1Dl4a+sxxJn5aRG7stscr2US0gn7t+dt/Jnl93Q5M8bK1+qSnSdGpKw+CAOaKUgLlVOxuYjgp3kQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Te4c1JLHD2WAwa7BnuYflCYm1h/IuOIJhiGcO8/AC4rNPkbcieWdTPgRdIIgEDAtam32hb5KZ68eU8uFyUXhhAAlLrnKjLOdU8eheChpwUnFQg8CVsQ5r2UQ4TUPRmTORggNgKMvJ5jPY1hUqXKsXymUVxLVGI5213Wev7obzCNx2W/NS8bCTIdz+NlJWgPu690JxQVdiWvV3yz+KgLU+eNOn3vW0GIX9JMRJf5KkdToToh+IEn26rlMtSBbscWiNP/i/wO2q4GaHVGCAbjMsiiAfhd1a02DVtLjmMIaz+9cEKp+wQBpMJqZoKN6GSgs4oAWJ9OFL/drNyrer9u+ZA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: sstabellini@xxxxxxxxxx, michal.orzel@xxxxxxx, xenia.ragiadakou@xxxxxxx, ayan.kumar.halder@xxxxxxx, consulting@xxxxxxxxxxx, andrew.cooper3@xxxxxxxxxx, roger.pau@xxxxxxxxxx, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 16 Oct 2023 15:43:24 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 12.10.2023 17:28, Nicola Vetrini wrote:
> The definition of IO_APIC_BASE contains a sum of an essentially enum
> value (FIX_IO_APIC_BASE_0) that is positive with an index that, in all
> instances, is unsigned, therefore the former is cast to unsigned, so that
> the operands are of the same essential type.
> 
> No functional change.
> ---
>  xen/arch/x86/include/asm/io_apic.h | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

Oh, also - there's no S-o-b here.

Jan



 


Rackspace

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