[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH v2 01/13] x86/cpufreq: 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:44:41 +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=1yXmY6+CsqTU3qyr4W0Ux2LYOOUkhbvGRdVHPpU1xQo=; b=jjUIgKrQbRNWLxHVfpDCuPGezeys1lbaI0bxJEQPrTbqXGiUi4VbpDXaUmw+3xaPZ4KBLkTdt8V6OD7yNPOlxPx44xKPs5oV5tALo3Rgl8RZKDXmsMVvSJpZv7jVr0bUuNHaFu52fY3yXQkx/llzFLhIdF56bc6tsRskjUCKp3mkxlY+Lv2JE1mQjmEjwAkrbkA+gc/p+S1UxzPYt6rOEMqi0jcODi7fK+MHYAD7KchXdL66R2Ury3b37zjw4llNit9YCKBDpL5vL23kzxvPrk3LXwfHKd86C3Y3k5MZwUxptJPX/3Dmph7NRL03GI/m5W5hl6qmCPsw8RLePW/yzA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KzYgK0RWFwHgfK3UEKHQmkzk0s6y1NyPn8To0ukvFO7cRNtX2ucJlUbidMsKw1YU6iY/uBVJjVCM6Pp2DYTFA6G5aGUMYIEcIvTOXv0TgoD0immQINRN2IMxm9fPsy6nM5m5zTJLzIgqGw6WZ7wk5gWFrqBO9mfCaR2cia3p5PD4OkJBQBW/n1TuI9sVpz0lUnnrERpdi+Z+lDlcXohWIFX85fE6CNJgpbRMf1REE1YZcdREAZfq0BALp7+XSYe66Edrsf3DPR+roHEsFtkWMCpaHYSj9VoLYuaASGnXjKtyjQmMZS+ESTdCeOHLFTsV3XnX5WMkuWsVoc4QiI85hg==
- 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>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, 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:44:47 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 06.07.2023 01:29, 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>
>
> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
|