[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] xen/public: arch-arm: All PSR_* defines should be unsigned
- To: Julien Grall <julien@xxxxxxx>
- From: Henry Wang <Henry.Wang@xxxxxxx>
- Date: Fri, 18 Aug 2023 01:50:52 +0000
- Accept-language: zh-CN, en-US
- 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=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=0YChvfSx9KhVfWTAi5US1FcC1sMAsPg6Uh+Mtrbc9uo=; b=UBUAO7sll+Gob/T1rRwR5v098pbmGO+c6uLnOjSYedQwYOsZ2S7r22QGMyV1kcaOc84irJ29FBZ7P3WxzC6wOMH+XLVj3NgQM52P4sxp2As7aNPEyZO8zju76uFA3oaSbt9+s2g5PLqYU06ua/TIyo7h4zudfE/ajMHoj+anoIfzAaniHRnSD01Dko7zdQwYhc81HdYztd299mVsJ2f8L28ALtfcHRL/Gb6QouYxhZlmGK2wQq3aNYsz94aItVufbzJhelkVYqnAtL1tLsbn0G0VWq33wM6jhSfwcY6x2/r1RPBjjH61oMbqqIKXhG/Ol2dwM9LcHw5fMrnvBpHhUw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hCe7mHk/a1IRtq08DwAvkGPFLpKiDSGoyvQ6qcNY1oI0DQ4ZUwPfBnSZyizgyGrVXijQu3K/WqyOVSixUZNXYn1UwPym1kE98kA6wkazyAw9OA4gbErx7qDK/6nxRsvS4ZtYFtMLSkB0U00hqbbSeDf2O9lrfm8R5ptdeWXXQgfM/kmzI/Xm6qcCIP54B/WlaO553D+9uN95SOk4GcEcvKl5m3DrKLll+vQ9wxgKZDlTBJQtqxEx/5jYuLb+Tg8ah6o1t0jsnxtgwTiXHULme0BiUe3s1wPDwucTld+TjOH55jhaYQ7BUU3OoWjEa1cKTa0bXb4AxBiqi4VtULJOLg==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Julien Grall <jgrall@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Fri, 18 Aug 2023 01:51:08 +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: AQHZ0VQEE1O1p7F1B0uGo7dZEUbaMq/vSiIA
- Thread-topic: [PATCH 3/3] xen/public: arch-arm: All PSR_* defines should be unsigned
Hi Julien,
> On Aug 18, 2023, at 05:43, Julien Grall <julien@xxxxxxx> wrote:
>
> From: Julien Grall <jgrall@xxxxxxxxxx>
>
> The defines PSR_* are field in registers and always unsigned. So
> add 'U' to clarify.
>
> This should help with MISRA Rule 7.2.
>
> Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>
Reviewed-by: Henry Wang <Henry.Wang@xxxxxxx>
Tested-by: Henry Wang <Henry.Wang@xxxxxxx>
Kind regards,
Henry
|