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

Re: [XEN PATCH] x86/emul: fix violations of MISRA C:2012 Rule 8.3 on parameter names


  • To: Federico Serafini <federico.serafini@xxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 11 Jul 2023 11:35:43 +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=5uTfHd6IFNTWnFw2xxzravZEVHJIH7EqQR9Z0POfHU4=; b=fU5IeuoIqVZrmo7m/1Msjw7IBPPA/60SajxYrbDEpMoyiwBXyRFwvdnfi53tMoHk9wJwgrEyROjfuMFitWYtoprDUmJ9WvrxigZj0TMcrarEuTeAUdr6kRuXaNjF9LPAtDyjg9d9J6wZ17TVuGCnNPPSl5ADRDfRjpmXyzH3Zayhif0nBkuGWRyyjtgqyWUc+eFYVN5pD+AZvFrz2zf26WYoPOVDsafsJO1PlQ4o64CHUQ5uIWXYLUI1NXgEAefoQ4AU1O42zXABtSLMvuYvx/X1NqXuZL3/+jA4Exis2fD2jYVfVzL/EDiUc2JE1c7hFV0ye+sdseUuCac/pdbVAQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DziXQ+Vctnn3LkJ8lGZErz2d/mQcoMzzT0gSpS02/PIbjCFO1WO+LBBCsNI7/a+7cGE5IaeVJgkzy5BK1LNLxu04reb/6Jqr7Kg997dzsPaclbup++7VRHDLFvqPoEseYW8K9WWq3SO0vNMpehYPwjMi0o+TQDOIelBwsUXayKXmBg8N40MwOiY9kLz6VMXLcRVg5R1UTM2ciWuPpaTyawpJKN3nMD0zEMcc04gFHCZrtdgL0W/3iu5vjp/LEr8TCAAW+cCXr2C7ZMSpXGE5RfOPbzPuZshrUCiEbO6owsZCwhxKAFN092Dxd5b9kVjiUnai8y5h3YV0/6B283If5A==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, consulting@xxxxxxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Xenia Ragiadakou <xenia.ragiadakou@xxxxxxx>, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Tue, 11 Jul 2023 09:36:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 10.07.2023 23:08, Stefano Stabellini wrote:
> On Mon, 10 Jul 2023, Federico Serafini wrote:
>> The headline of MISRA C:2012 Rule 8.3 states that:
>> "All declarations of an object or function shall use the same names and
>> type qualifiers".
>>
>> Change parameter names to meet the following requirements:
>> 1) keep consistency between declarations and the corresponding
>>    definitions thus fixing violations of the Rule 8.3;
>> 2) use the globally-adopted shorthands (e.g., 's' to denote a 'state');
>> 3) keep adjacent declarations consistent with respect to the parameter
>>    names that are used.
>>
>> Signed-off-by: Federico Serafini <federico.serafini@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®.