[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH v2 5/5] x86: refactor macros in 'xen-mca.h'
- To: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 8 Aug 2023 16:46:36 +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=LFHFg9Drna9jR44+rSeaaZx+wNcat5CHqUdBCywA9k4=; b=ZsPpMSPe8+pJP9a0nGOoUBMhk/8qQIU5b4t+GLWtRaTZIYovpPwztzzrIMo9Nns05tAcorxfBaveU9iIww6/kFqqdYPO8csmgvPLJBkmKK3RYlikABKQQwDWoCvjr7zOQJ3vLBEasbQu3VGAXLcuQTiIGT8XQNvYo+omYsEZSvLqipib3uCGK7wPh9dJdo0t1mT/S7d82JChuFHzWarYM9jfqn8zQifehQSpTU93PpcpHAwtd71Q4qHrtyWYK8//PPk/epBOOLdsgKmK4+x1s/dsJ7+f316n18px3zvO8H2wQ7g0BMR05VxEXE+UMKiW3O1LU5PMkpb7Q0bcxx2Phw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OJWE593TnzdxZu42I8QwikONsN+rurtok+RiovoIKnONWUaxRGBx/JJKpY84KY1UwFMId2MzzYj06BEu179eAaCMIDiijeHnbRRJExBUJuSpd85brt4tHHKJl9ggmU8izzkkajCvWPQWXC15Kj2y1W4rg2qgqmugRKtPrfQDDp8FYA0AGZHXKJnewET9ka3j6F2TCUUTzNhQLK5g0UvAjXWDGxmpEZbSMe+5fDkz8QrjaLTPL8HXTQi4c31sXBrfV2/tkfHbtTIZ+3z8ntMBw6o50zoR2/+2ds620HoUiq06XImSSOoqZjQH7K9NC/cZBUu1kZANMG6C7E1eT44/4g==
- 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 Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Tue, 08 Aug 2023 14:47:22 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 08.08.2023 13:08, Nicola Vetrini wrote:
> The macros defined 'xen/include/public/arch-x86/xen-mca.h' are revised
> to address the following concerns:
> - needless underscore prefixes for parameter names;
> - the variable 'i' in function 'mce_action' that is shadowed
> by the local variable in the macro.
>
> Therefore, the refactoring aims to resolve present shadowing
> issues, which violate MISRA C:2012 Rule 5.3, and lessen the
> probability of future ones with some renames.
>
> No functional change.
>
> Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
|