[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH v3 14/15] ACPI/APEI: fix violations of MISRA C:2012 Rule 7.2
- To: Simone Ballarin <simone.ballarin@xxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Wed, 12 Jul 2023 12:56:38 +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=a0xDb9uFAjmFVHfWwROsyqVJ+c+Zi/BVX8RBoz3fGms=; b=NWgq+ppHOgWIGtuNhSB55YxZfgKgxoL8S99NoJbWz2FSKC4j6tE9pgZP+EnmRHnfHSKTwr7WTDtsi4cYngiLIOlAbhowr32AY8T5Xil8LwQK3OMSnNm+05OH2dCV++MpMt/WzbIYA8VGu+peYMwIe4ZMxKx/ejIBQjx7Q+5Y9xFtAwWjpIw84TwDzFZchKnTCrGv3Lts71lB3sLFI4A1YBk08oB1H0K1OTYLdc/bYOCE/ZsIcbsOW6SDXQ+HlU+sctOsBr5l6cPjJAi/3tWriPoAiRCDJBMTUvWqRuC3B3EB0Aa7wMPD9MKgBYfBu4fUn2p4lPHHOZzJRq4pOtOo/w==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n8KBwe6F6OK6F8Mlz4Reb81UFbIrkkC0+0SBTk2Obwl67dekZKxQrkwf4dCp8c92XNraVvvL5dXMZbzSPQwkhlMX14EGdCiFLoILrjqDyzJzYoOWF/SZXRSJAwxVCEOEF4Salr9TPZCUpQn6A0g3aDMK9eAOId6RAvVKeUewAABXwiOihQsBawYDmFkV/XCwAvPgAJmHhfge5wGYpwVQEPNFEg2fCghQC+4JstJPUu4TR8SDyrlZgVPtoCWSAkqQRwj9RMdgCljGhKxC182g21fLd158yepUQEaq4HT4xstR071EXJHcyG1d4JEHx4tFxhh/y5ImblJMp1bFk0dcxA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: consulting@xxxxxxxxxxx, Gianluca Luparini <gianluca.luparini@xxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Xenia Ragiadakou <Xenia.Ragiadakou@xxxxxxx>, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Wed, 12 Jul 2023 10:56:53 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 12.07.2023 12:32, Simone Ballarin wrote:
> From: Gianluca Luparini <gianluca.luparini@xxxxxxxxxxx>
>
> The xen sources contains violations of MISRA C:2012 Rule 7.2 whose
> headline states:
> "A 'u' or 'U' suffix shall be applied to all integer constants
> that are represented in an unsigned type".
>
> Add the 'U' suffix to integers literals with unsigned type.
>
> For the sake of uniformity, the following changes are made:
> - add the 'U' suffix to all first macro's arguments in 'cper.h'
>
> Signed-off-by: Gianluca Luparini <gianluca.luparini@xxxxxxxxxxx>
> Signed-off-by: Simone Ballarin <simone.ballarin@xxxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
|