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

Re: [PATCH 3/3] xen/misra: xen-analysis.py: use the relative path from the ...


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Luca Fancellu <luca.fancellu@xxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Fri, 19 May 2023 09:08:32 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); 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=/b4M/CxF91kxc/f6hPCJkHkDP4+LP+C59xmPdLzvC8o=; b=Zq3HNYv2/tBok8SWjjdBcAAMIe0/QOXqqq8oW94YXL+HGfpiA60dc3ClVS2lPCcB3FebzMzRZnkJyBPmYUdyQCvfP1+vpRmna9W9uNxFmu30YbT5iqse/p2SznUkh8ssMgMXn4Ll52uBqdxvSjygwOP/bFhe+Pforvi63b2vw/V4E0c+eryzdb6CYiAT7pT/edL1tsQVYm3QsfyOX7Rb3rvTWomR5wh2GrkcH+AS9bWYfDBWiMH2MNGOSDEz0awip5vLwSEJNys71U7HpBk+qPjj6IPXASUqeqx1XwgMFY1HBGVlDzVppGY0lreTfYGYaSvxEuUzgzOUcrFFGoGWPA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TJrZN+yVT+HLYIuQcXuyUxxYyMr5i7BAXTPCdRBWfVx/ZXOANE/MZurUzDGL9h1QNNkFcPCUKCCbgUrAY0D2yBB4FCgcc2USnG97c8Mg6KleTh2rY2twJe1GgB0A4rC+b38cxciMujT2ko/z6aJLaSsrRlwLyTJowRVfkst4iT5HJ+fbXXeWgi6QK/MLOv/S2g3+LoK9UG26PDJ8FhlcYwZtY8JtlcH8MrW3OlgcRMVz+vmfljaL4xgljXfR5NpEFX+Ez9czhRgo4C/zv3u2TNdciMxwIWVAwXtLPI90hKT+kj+t4BlZqW7wQg+o1mNab9BH14t2+kU5NrqnyF7fhw==
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>, <bertrand.marquis@xxxxxxx>, <wei.chen@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Fri, 19 May 2023 07:09:12 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Luca,

On 17/05/2023 02:44, Stefano Stabellini wrote:
> 
> 
> On Thu, 4 May 2023, Luca Fancellu wrote:
>> repository in the reports
>>
>> Currently the cppcheck report entries shows the relative file path
>> from the /xen folder of the repository instead of the base folder.
>> In order to ease the checks, for example, when looking a git diff
>> output and the report, use the repository folder as base.
>>
>> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
> 
> Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
> Tested-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>

I know this patch is now committed but there is something confusing here.
At the moment, in the cppcheck report we have paths relative to xen/ e.g.:
arch/arm/arm64/lib/bitops.c(117,1):...

So after this patch, I would expect to see the path relative to root of 
repository e.g.:
*xen/*arch/arm/arm64/lib/bitops.c(117,1):...

However, with or without this patch the behavior is the same.
Did I misunderstand your patch?

~Michal



 


Rackspace

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