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

Re: [PATCH 2/2] xen/arm: Fix MISRA regression on R1.1, flexible array member not at the end


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
  • Date: Thu, 2 May 2024 10:42:05 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • 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=2; 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=9K0ZGamDqyoPVex3PZ9FO3vycwjLLcguT8T4UOwvcHg=; b=dasyRi1j6OYdZqc24E3lsOcWtFef7ezZW/C3Dvai1T4E3lkeORbGwjZKZauDKNTugxQnrv/R0+yynAka17PE0AYVX3six2Km45eIgnRxPWz83S8pQZYa9kK/uaqqJk26dlFvn1InCSZ1v08U1d3k/bn0aYcDmkf3uVsJyRvv9HjzHheEhCVvnFpO9bsyTiUJJkptKMkfMQYTzW8NJ48E7BtKRjvqtOVMe0omXtYqSW3VS2ebOxau/LMldKGGCKcvwWF2fsYGjMmpjcWnOVA3En5gg9ZoG9hfe/YgeFgsyjx/PKHCVUslXLE6PVGNJMoxHxq+JVmNWuUxVkVViQe3FQ==
  • 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=9K0ZGamDqyoPVex3PZ9FO3vycwjLLcguT8T4UOwvcHg=; b=P07mmGsimz4qjgjRUJWJhbcTIQfNsou4DjlWPhAVm0+W3q139jNLFZzqriRvunQLTGVzI0K3kVTLT4fHDhY8w0FAQ/5L2VDeCY4qfdFK6GIS0vS9WEHvIYAk/SlhUsWPC/qMYKs58fd9SXNFmQ7/JI6UW4IvyjoTseR1yWFdJAnE86bIXblvZodfkv1Wot7pt09Uvfz+mYV/FOmoF7suVwPpAyApySmZM6TXl7i5y0lEmppqR4Q0Mf6xbwQdZhdy39Fwctv/Nj/N2tLqvljER8uw1pJ3P1SixBkGFjHKhubUYGSn6aQRkz5C9jQtEEoR1c1woQNy/hTWI4v446ncwA==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=cSgG+JNfxwH8ex4qvgvGcZxMTdPVztMSKj4NT8vVJEv33uIUoaG5MOAZFrN7YKKfVTHytKLgbi79F0JyNbLrqhf9f3vVSzPxqYC3eIvSGEbVySAB2HjtVbiKuMgohyHEpUiSkQF2XWBx6qNdq+oy/Fym0yZ3z4IvBBxnE3cWSJxIqqNP4jZCfI1MYqlW7ZixcNTFmvCGHhw3L7vmfraKBZqm3kEpumngs8KXeecf7Dwqkatu2H7oZZ7809h3wX0cN1c84vQgpDOW9WZYSrXYoStpvsfCJFafDONzWfopC4v/XbUlb/3qtdundcKOG02JViraQ/k10iDunYVqB0QYVQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bPFt8iyJSKycwF6us0QYwB4Ii2kR3PmkoaTemiqhHRGHwFHkXs5iVMOxcTx49dwpFyCnTZVYi9vX1pEdj9oczZDP+0+55uF729++NZAbq8JwVgzr0jGgbf6uTE7s9QLvhAO+ZUxeO9ZqlHpexeOPKjOyDYPDQHjam4r6wOAv9bHyWjFEUItJQTay0ysrqtssUkXm+uFuVeTBQEgMcS1vlVYwY+OLeum+id/Q4klPRE8Tbych6NaTpfD3FuiRdjqYSRih7/o3HmQdnlRUjaHbnKmnQK9i2d+3xEZaZtehzN2Q753IhX0w+sDuwrtwjTy4f+4h4PK2G43kj5y+rKLcRQ==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: "consulting @ bugseng . com" <consulting@xxxxxxxxxxx>, Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 02 May 2024 10:42:28 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHamu72Eq1RpEGs60mNp9DIfY8mn7GAr6+AgAFEGQCAAYYzgIAABVAAgAACyoCAABlOgIAAG+eAgAAFWACAAAUMAIAAAyeA
  • Thread-topic: [PATCH 2/2] xen/arm: Fix MISRA regression on R1.1, flexible array member not at the end


> On 2 May 2024, at 11:30, Jan Beulich <jbeulich@xxxxxxxx> wrote:
> 
> On 02.05.2024 12:12, Luca Fancellu wrote:
>>>> In any case it would be used soon also for other architectures using 
>>>> bootinfo.
>>> 
>>> Oh, would it?
>> 
>> PPC people have plans on putting that interface in common:
> 
> I'm aware, but ...
> 
>> https://patchwork.kernel.org/project/xen-devel/patch/451705505ff7f80ec66c78cc2830196fa6e4090c.1712893887.git.sanastasio@xxxxxxxxxxxxxxxxxxxxx/
> 
> ... I can't spot any flexible array members in this patch.

I guess v5 of that patch will have that, because it would be rebased on the 
latest state of
xen/arch/arm/include/asm/setup.h, moving that interface in 
xen/include/xen/bootfdt.h, in
order to use part of the code taken out from xen/arch/arm/setup.c and put in
xen/common/device-tree/bootinfo.c





 


Rackspace

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