[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [XEN PATCH v2] device_tree: address violations of MISRA C:2012 Rules 8.2 and 8.3
- To: Federico Serafini <federico.serafini@xxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Henry Wang <Henry.Wang@xxxxxxx>
- Date: Tue, 25 Jul 2023 01:26:33 +0000
- Accept-language: zh-CN, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.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=2aP1OG4ctH9AeuM3fwW0JA76HBgCouhtT64QRlakYqo=; b=ROIu1no5mxWD1bwr3AoheERshH2gc/ZhpiIgSi/bI3qbDuz6Q/XOzUIicxCfVfF3aIAsXS/GcyqYb+awhzGpNszx7NjXW9TGCHvqDCsO1IoE4gzXEm9dDblk6H9N+aQLn9FexeENP1xVy3DYd16iarHWC+c5b6QwuCEVQpi8K4zYhK7T5cqsEKPPTOqO3QzniWrueM0ZqoZdSF8Y8flyuT8TXFNrT73mUsU+2F8hg5rHG8JbTxxCkKP7CQ/g47M2lZEx6PMiziFekSG4NmRdrbyCwsPkUfCuChp5qEqVa1DBxLtwSwdo682eyEJY/+HZHXuUwgzetTALklg+McmELw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YrDipqVjMu0wp29bb5LwNtZkGlX0/7U+kPl41Dk/HWVgx9bgiaMqsrGeEGqapxzS7wd230YolTSQwl9/PKBgEJYYPMvwh+EX177kYCyPM+Pr7xe+VFXiBKITI3E6XAN9if+0KWzoiBAYD95cbpg9zCPcAFxJvOg9uS0EWxtYdy8lcZptoWNItkBmEF/9NWPTfvzc6D1YWC5nAqY9/qqdTkw5cZfWXjkz3y+J5jFtlY2+/nlk+vslZKy5nRdh8dI0b84i859rC6n4uDdZrOpNFSioSD0n4LdtYBojtgWDldGISiZ6mwn4Jr+Y/JO7gAGujJnidQX2HhCiv2cMyAPhwA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: "consulting@xxxxxxxxxxx" <consulting@xxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>
- Delivery-date: Tue, 25 Jul 2023 01:27:24 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Thread-index: AQHZvgqIKEgaqsoxpkKjuK/J/mFe36/Jsdfg
- Thread-topic: [XEN PATCH v2] device_tree: address violations of MISRA C:2012 Rules 8.2 and 8.3
Hi Federico,
> -----Original Message-----
> From: Xen-devel <xen-devel-bounces@xxxxxxxxxxxxxxxxxxxx> On Behalf Of
> Federico Serafini
> Sent: Monday, July 24, 2023 4:40 PM
> To: xen-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: consulting@xxxxxxxxxxx; Federico Serafini
> <federico.serafini@xxxxxxxxxxx>; Stefano Stabellini
> <sstabellini@xxxxxxxxxx>; Julien Grall <julien@xxxxxxx>
> Subject: [XEN PATCH v2] device_tree: address violations of MISRA C:2012
> Rules 8.2 and 8.3
>
> Give a name to unnamed parameters thus addressing violations of
> MISRA C:2012 Rule 8.2 ("Function types shall be in prototype form with
> named parameters").
> Keep consistency between parameter names and types used in function
> declarations and the ones used in the corresponding function
> definitions, thus addressing violations of MISRA C:2012 Rule 8.3
> ("All declarations of an object or function shall use the same names
> and type qualifiers").
>
> No functional changes.
>
> Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx>
Reviewed-by: Henry Wang <Henry.Wang@xxxxxxx>
Kind regards,
Henry
|