[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH v2 0/3] Introduce and use STATIC_ASSERT_UNREACHABLE()
- To: xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: Federico Serafini <federico.serafini@xxxxxxxxxxx>
- Date: Wed, 31 Jan 2024 09:19:21 +0100
- Cc: consulting@xxxxxxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Simone Ballarin <simone.ballarin@xxxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>
- Delivery-date: Wed, 31 Jan 2024 08:19:32 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 26/01/24 11:05, Federico Serafini wrote:
Introduce macro STATIC_ASSERT_UNREACHABLE(),
use it to replace __{get,put}_user_bad(),
update ECLAIR configuration to allow the use of such macro at the end of
switch-caluses.
Federico Serafini (3):
xen: introduce STATIC_ASSERT_UNREACHABLE()
x86/uaccess: replace __{get,put}_user_bad() with
STATIC_ASSERT_UNREACHABLE()
automation/eclair: add deviation for MISRA C:2012 Rule 16.3
automation/eclair_analysis/ECLAIR/deviations.ecl | 4 ++++
docs/misra/deviations.rst | 5 +++++
xen/arch/x86/include/asm/uaccess.h | 7 ++-----
xen/include/xen/compiler.h | 7 +++++++
4 files changed, 18 insertions(+), 5 deletions(-)
Hello everyone,
do you have any comments on this series?
--
Federico Serafini, M.Sc.
Software Engineer, BUGSENG (http://bugseng.com)
|