[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-4.19] x86/cpu-policy: Adjust CPUID_MAX_SERIALISED_LEAVES to placate MISRA
- To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Mon, 16 Oct 2023 16:25:12 +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=8a+rp6rS5hERbpA11vmd4FLXufR8wnF7R567w+cUtPI=; b=Z5mSfc97J04rEQdSAnsV8NqOaqV0JswBB/AS9E1ZMHGkegvoDaDLz3nG7A50VsDofaPIwpE+hIT/ya2SS0TuR4JNKUS3g7VgmnZ8rOUfwUWhEAO+8XWqwCSJUg2rx5+oRPz6AOX0SrA4FswvOMSftF6p9GxF3nHpp8/dTbNTXlgm72oVYkP8/8o1GcNhx6vFQJpxRJ5+HV/MQGFenrLoc45r8AA/yTyrWh7/qrLKUcDbD2lbkXbVg6qkrSVUxabh+/BiDLtw4iQJYjPySqVlKjUxVVcZWkFRZq5AUvAMzjol2qrkqRWQsHfJDkscwO1JnT2j8YbSXOJBnvVMBRvbJQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AYDE9qe5VzT2zI0uUS0x33S5PcI/GSAfO+J1QSTtou9zLVJS37mxJVxs7jOeFQm6T5xVJpkjfmkMoAnvOQLGenFZodnc05kt2H5oWMZawRujhlgEcSeK5DFHgcfQn5tX9FYuXvENaCEIKN2X1Jen0qyHGa4S9CATMRjucYZkbzW9j3PY9t3C/rkkMrK1nj/Gxj9f6iKBkLi0lUrzSDtBLPsWyPm8DijUk1CgPI5MXAC/xpKynRv9OZk0IwYZkX4+fk7iIAQsJfBQG8e5qj0TncwKewXYCF+A2hw8uaXj3wKl94VMiqiX0aEPdBl7WD/+/LksPzm5PYLfAdtQMjwYyQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Mon, 16 Oct 2023 14:25:18 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 10.10.2023 11:57, Andrew Cooper wrote:
> MISRA doesn't like !!CONST being used in place of a 1 (Rule 10.1). Update the
> expression to just be a plain 1, which still matches the description.
>
> No functional change.
>
> Reported-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
|