[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH] xen: use parameter name 'mcs' in arch_do_multicall_call()
- To: Federico Serafini <federico.serafini@xxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Wed, 26 Jul 2023 11:01:45 +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=eerz2M6E3rou8hNyM7yvUbjxsnb1T8UVB51DrYTxpTg=; b=VL1+ypIl3gUkdcXbUCRmApEoDGgr8lb3HrHC0Cndcar0tQujJJBuFxmp0S1MXUa4rFvWy53oWnrINsi2ERcETjfA9iirFEJFSjOFCF931eWRVUwiMnZ31o9WQ+saq5HCfQhz3FJjEQLiw2zpYgvxewrnd8iWsmPalDam6wKgmh4CwDUkAzo7koFChh9Z/CFJFmUvrHgrTsba5VnjLfozjIpMhOQdWW+tEo0qeh7MPcrtD/wgb0fk86DAcxUmHFw1gb/0UO1RSsavzsehyVjhdgIdPd2PP9UE6Qp+kgUb7OrmPlyZYdiVNfm7Rmb6D51VBbaTXJNvlUV378aKv6CImQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h5zfiGEdYOd1osWf4uyX0WXtvNSzzQgx6Arhkgrrs3k5Qh9iG7ta3ZTbG5oPhxjI3mNDTibOMDiU/fECuaBG546kQfqSoSxucF4AnzkoLGnvBk+6UXKqV+mEx/ljz08WgHd3Gg3xVb+kFGnZkz2biCd0j87aIJytK4PzNR3MOxzi9uRgs99Ghlz/haDImAGcH5aYNLfkk96RX/mX/8WKVQP6UXFDfuSNQru4TEH8ujJ6QwrGu+Fwt0Y8zeYZJrZAVoR2y6Xms767gVElyxbc8hs0noh+S8u7MgrTlEVf59dDCDkQ7CaBpILF9SrF5JuPDdFRmCMrfkera1JOvGbjrg==
- 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: Wed, 26 Jul 2023 09:02:04 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 26.07.2023 09:22, Federico Serafini wrote:
> Make function declaration and definition consistent using the same
> parameter name ('mcs' do denote a pointer to an 'mc_state').
> This addresses a violation of MISRA C:2012 Rule 8.3: "All declarations of an
> object or function shall use the same names and type qualifiers".
>
> Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx>
> ---
> xen/arch/arm/traps.c | 4 ++--
> xen/include/xen/multicall.h | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
What about x86'es function?
Jan
|