[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH v3 10/15] x86/monitor: 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:54:39 +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=cbsBwAXNEArg1hcD+/sfkojwEe80jWAnvwgMMeO3kyM=; b=Z9BoDSlBj5Ccst+2VWVHtRTsCY6+TG2uceYm2ctt3cjBd4r92d0h3T5mr/MKhtKui8TXavBOjESWJM8uTn8MvzEmRq1eAdRZ53KdXDmEszvlFKheGDVM7NEoX11LOlzZ2JPHfkSn3+yoQBG+Y/x7tIq0eTTgOqlx0YVEHoGvfO4boBF2GckkgYQl+I6ocE1voveY/EHpLJk4fPkUMBIEEN6P6co85Ux62lnI4Jvk080GAxhOU3wZs416kSEuHy+hpHoyxaU6q1N39ZLti4tuqHW8pQoeHHf3ClecUYRDb5347eYUg14UgxjtJ38SUSdrubC44olTyR3FTwYPEMZIDw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NBQzmL9Oxs6JQp8vakUGT7YCY45604IEo59/WNLFFPWu4JeDbW8VPlPQCOgcfsKC9O++2/1RAfOR7kJgEnGdv+aO059alp53mPoEDQLt7EwJTHXkZ232+8BCVnN3rio4opm4f6CUlGiAXfRbJtjKMlll6Q6xpeS/Bpw+zEqDg4xtKffKgPz8eguZtOGfK3QJeueVSz2HGCPuOcBJFTnxrs4ocQo26pVPyy0grySG5F8j1JWJ1y68O8z6qx6Pmo5aaqcgOdZxDn4tapFUh/S1InJw3T/4odOVm8q5Gff5h5GNhRHvVeU5WALHRVbFi9dg6iqwiCgg/e3xYXlCgUTEqg==
- 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>, Tamas K Lengyel <tamas@xxxxxxxxxxxxx>, Alexandru Isaila <aisaila@xxxxxxxxxxxxxxx>, Petre Pircalabu <ppircalabu@xxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, 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:54: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 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: Gianluca Luparini <gianluca.luparini@xxxxxxxxxxx>
> Signed-off-by: Simone Ballarin <simone.ballarin@xxxxxxxxxxx>
> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
Looks like you've lost Tamas'es ack here.
Jan
|