[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH v2 02/13] AMD/IOMMU: fix violations of MISRA C:2012 Rule 7.2
- To: Simone Ballarin <simone.ballarin@xxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Thu, 6 Jul 2023 09:48:54 +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=L5G9+VngUfCmzdWJ5fpaE2QOiiNZvSwpvjPVIrTbYIw=; b=WEYgepiMU+e9FVF8cIuSYnuag/kJvIRBn5fqRX034aacyv+H2VmZ4Rdf33t9VHlspF1M6/TDlpIVm+0bPsGO9LlnU7K6k5AEcOPL/jJmBtT9Ba0rsCmRxMbXxPWq7x8CSvA3jDgesfNEbmsArhh9kOQpLaitXbzptMuLF/ElIpvCR63vyNLNTYl9eMXI5csb/Qp/pyIYi/Tcg1MNMehlZXoBvibcOOaAKv62WTHBtjjLA8c5NkgM6wy4eCj/5u2XI6l3dj2dOisHaob8UrVyuoHPxA8MJYiOyoi0fJTWjBOLtNuqm9FHaTxDx3TOtPHyjR7MFRev2XyAd1/wZmmx/A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kb1VehfciubqLxxr5UXSKQiDCDKd1N6+vS2KBo9EdRrKFkLM/yb9TuOJ/EgaGjRUoa1HyNWEymKc/ItnNkfQlOCAX/Vmkura7x080btmSb7QCPA3KX8VvT6tUEIs7YyHsuC0gQEcd/WIu5Ahl/0NXrvAkWwbuNCWdzavOYZka+zJsASrSeIfqVci3RGaGFMSCvBbBe7odsglOeg+DJIL5aGzkT7lZXna79doxSdxby5Dk7i9EY3aqL1Z4qFhuV8kYqccKCcn9Tr4+YaALF2R9shsnzAdpvoR64v6P6Qks9i9oHBCj3OFDWMM+n4pSCLuWiuGsHgynF2zw5y5D0Y/bA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, consulting@xxxxxxxxxxx, Gianluca Luparini <gianluca.luparini@xxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Xenia Ragiadakou <Xenia.Ragiadakou@xxxxxxx>, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
- Delivery-date: Thu, 06 Jul 2023 07:49:44 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 06.07.2023 01:31, Stefano Stabellini wrote:
> On Wed, 5 Jul 2023, 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 and also to other
>> literals used in the same contexts or near violations, when their positive
>> nature is immediately clear. The latter changes are done for the sake of
>> uniformity.
>>
>> Signed-off-by: Simone Ballarin <simone.ballarin@xxxxxxxxxxx>
>> Signed-off-by: Gianluca Luparini <gianluca.luparini@xxxxxxxxxxx>
>> Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
>
> I reviewed this again and I also the tag should be Reviewed-by (sorry it
> was my mistake last time):
>
> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
|