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

Re: [PATCH 2/4] xen/scripts: add cppcheck tool to the xen-analysis.py script


  • To: Luca Fancellu <Luca.Fancellu@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 1 Dec 2022 12:20:50 +0100
  • 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=ZMJjuJi8bJYQBmtK1tEJB0+DrvlHB8ny1vOTO1rWOzE=; b=LnY2MeGxyH4AgaZKLjs8qGz5Uz3brH/x/1UnP+m9rkF1UZvUD672Bt7E0J/VW1556cJkCJDSCSWg+YlFa7l1farGwpdcE2fvZ3Hb9rsV6yYbb22EA0IdhxIUzo9fz9xBPwq8ysKd8Maczpmxm3Gw8RRHTvHv5RSo+iP/z+KzNEld0BtMCzs8SF2xMXdj40A+IYOhzGjWA0BgkcEMfyjjTzXPXxdsJNBREoRSiRAi32WzFJk/KK38lAIpzNt+bCs0o1Cf70Nseow5Civc2YUMpvxBa/SWnsqeIIBJdlgMV4NL8V000EemvFP0ShfkSi8mPcvu63CCAxadbX9XENeztg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f0XXqcYPfyjK3WKD82dnvrHsJ8MMenr9YAupc6W/k4B8yllycUsAVNDvlhMfXEUapz8ulkJJcQV47Hb9buBrB9DImEFt5gDpM61/hFTZOsI2uzKO4SD5KeM4vr4si7i4YNbJw6nuSidQB++1cs5h7+8eSmJr0f6ErNHcWRYKMk740ftCZcwF6HLh3TaEmBWzGJDMdUSX1b66r44dRZ2MkwrQfTa4ZU12Jfag75Ab8pG+z3Nx7NU4BZMGn9+gTGKW/Go4af+b3KYNZRyiKbXzQ0cuLwv6OckzC5xtx5GUkhRoR985JvPFi4vZQO+F1KIuHvtzzEvaRM3n4F95O7rBqg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Wei Chen <Wei.Chen@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Thu, 01 Dec 2022 11:21:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 01.12.2022 12:18, Luca Fancellu wrote:
>> On 1 Dec 2022, at 08:33, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>> On 30.11.2022 21:26, Stefano Stabellini wrote:
>>> On Wed, 30 Nov 2022, Luca Fancellu wrote:
>>>>> I think the revert of the cppcheck integration in xen/Makefile and
>>>>> xen/tools/merge_cppcheck_reports.py could be a separate patch. There is
>>>>> no need to make sure cppcheck support in the xen Makefile is
>>>>> "bisectable". That patch could have my acked-by already.
>>>>
>>>> Ok I will split these changes in a following patch
>>>>
>>>>>
>>>>> Also the document changes introduced in this patch have my reviewed-by:
>>>>> - docs/misra/cppcheck.txt
>>>>> - docs/misra/documenting-violations.rst
>>>>> - docs/misra/false-positive-cppcheck.json
>>>>> - docs/misra/xen-static-analysis.rst
>>>>
>>>> Thank you, should I put those files in a separate patch with your rev-by 
>>>> before
>>>> this patch or this is just a comment for you to remember which file you 
>>>> already
>>>> reviewed?
>>>
>>> If Jan and the other reviewers are OK, I think you could split them out
>>> in a separate patch and add my reviewed-by. If Jan prefers to keep it
>>> all together in one patch, then I wrote it down so that I remember what
>>> I have already acked :-)
>>
>> Docs changes being split off and going in first is okay as long as what
>> is being documented is present behavior. If other changes are needed to
>> make (parts of) new documentation actually correct, then it should imo
>> go together. If new documentation describes future behavior (e.g.
>> design docs), then of course it's fine as well to go in early, as then
>> there simply is no code anywhere which this would (temporarily) not
>> describe correctly.
> 
> Yeah I thought so, I would prefer to keep these files here otherwise I would 
> need to
> change them somehow and I would lose the r-by anyway.
> 
> Regarding the revert of cppcheck from makefile and 
> xen/tools/merge_cppcheck_reports.py,
> are you ok if I send a patch with only those changes? Would it be ok for you 
> if the new patch
> is after this one?

I don't mind you doing so, but I guess the question is mainly to people
actually / possibly making use of those make goals.

Jan



 


Rackspace

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