[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XEN PATCH v2 08/13] xen/pci: 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 10:05:21 +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=PffBXkoKNZD3aGEzj7kMg9mzXoHV2+hn7WAjxl3Lwe4=; b=jinAmZNteTnDZ0wvaSr/AO/ylFO9XO6M3ZMoY2FPU+nPfeHhgJ2lAnYlwQrKz3aRw77vEreYZMhwRiAOsvKms0pgrv12GzvdSpAQlKnkLF59snYzw7vXj82/mqY97Fp6NaZs8WVcU8l3j50g5tDgm9TSsidvbxygZTCkQPuU1kY+lyfzWf9hEvHFmN/RYFdsOjx9QDlet94tnfAegRAs6oyqrq+Y1FP8RWlNFEGG2+O89nuicDEP5BLlR2Q33DwKORkXi/cOYl+CY4CeLhcr8fI6DC2jZ8ZuSAVLICj3Owk9Uyhqu8tDx0jMF7XF5FpE0Yx4DLVsp44Omxk5oJpTJg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CRa08L/OsIoanHLBe/sMM65gEvbEtleH9tWEHUcDL+ZwnRj4D4FmgQPzTYrW9ob2sJQZ403a/IEc5hhfPo0n8od8yuRWW4x2CF2k/Bvywv/t5Zt2puUbbzB5wh2XF6QB1rinJskAlV9LGPWu/QmG4vcviiC3Gp9s+ZLM/WrxH9YRD4t0S6M+hAjQTap4DfRY+7jEjV8pJPtnnS80dxWt+qlbTZoblDKX4P+qYhp0kcC+7TKyzIfR/KNwZj6xnOzjm1Ra8nXlJkiuo44lKgL8wovVcMirlIB9QAwpbvEoU3W68+x4Zj3hXO5PSHJpP/1OHYJFCv3D1UFNvmmKaUujTQ==
  • 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>, Paul Durrant <paul@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, 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: Thu, 06 Jul 2023 08:05:27 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 05.07.2023 17:26, 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>





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.