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

Re: [XEN PATCH v3] xen/IRQ: address violations of MISRA C: 2012 Rules 8.2 and 8.3


  • To: Federico Serafini <federico.serafini@xxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 31 Jul 2023 15:12:12 +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=BHzbX8IHjWokso4ux/ZPfO0r/jQa2hAbX6xf6fr9I7k=; b=KjI4vSoGjDc4rQhVaovehRlQzym6Un0b5O4zpQEjMPv9r0hXYUJxXegPuNnGMrApOZwogwqnOEeKlSOXfPXvh+6K36p9szvEPzwBVIQvkyOVXzIxxuwYJX1D5eK39JXPCkxywwvYUmJTkUihS+Dz1XpqVlwLOGM1lh0o1y0ux4Vh2vPySWxLxd1FMhTDTWR9l2rs5VXLuiH7SmplCg3lWkXeVopKA7+UVX5nGzoBDIWQbGhLkuQjh5BmJcKotLF7yVtAmQlp6w+9oy0vQSccF2VSULtMC8zwobKV4CNw6d/kowkixRZCnKtBcP+2YcH1u2fvBb8ikPP7eBA5Bf9zfw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TmpSrtYK8BfQf9FEKnRwwguH3xFiwmz0vECVO0wuTyG2+blWBDeL2cz/pdyg3b2I6KXUAsS817rsHcFBhEO00ibz0ogaarYcS6LnroawSO/mq90/ZiyyuKqti/VwNVuQYO5C08znhqnahWSaIudI7aLW4YyVxa9p+Db0BqN6/wBuj+QR79yfk9jlYOrHNAdOPu4DEnCpQKLsjPDmWtbqwvsuxHxqtl+rMKch2hWe1y7BtrXRw1ukeK1mR78fJG+iWC+d9aDldEslQyuOqP1vFwwVKw8UcfvlVFvX5xoCME3kKWpbyWo/W/oO7A7hppGqJiM4rJ14w1KIxSQgm2cHsQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: consulting@xxxxxxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 31 Jul 2023 13:12:21 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 31.07.2023 15:02, Federico Serafini wrote:
> Give a name to unnamed parameters thus addressing violations of
> MISRA C:2012 Rule 8.2 ("Function types shall be in prototype form with
> named parameters").
> Keep consistency between parameter names and types used in function
> declarations and the ones used in the corresponding function
> definitions, thus addressing violations of MISRA C:2012 Rule 8.3
> ("All declarations of an object or function shall use the same names
> and type qualifiers").
> 
> No functional changes.
> 
> Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx>
> ---
> Changes in v3:
>   - uniformed parameter names between arm and x86 for irq_set_affinity().

I'm sorry, your v3 submission crossed with me committing v2. Please
submit an incremental change instead.

Jan



 


Rackspace

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