All of lore.kernel.org
 help / color / mirror / Atom feed
* [XEN PATCH 0/3] Introduce and use static_assert_unreachable()
@ 2024-01-22 13:48 Federico Serafini
  2024-01-22 13:48 ` [XEN PATCH 1/3] xen: introduce static_assert_unreachable() Federico Serafini
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Federico Serafini @ 2024-01-22 13:48 UTC (permalink / raw)
  To: xen-devel
  Cc: consulting, Federico Serafini, Andrew Cooper, George Dunlap,
	Jan Beulich, Julien Grall, Stefano Stabellini, Wei Liu,
	Roger Pau Monné, Simone Ballarin, Doug Goldstein

Introduce macro static_assert_unreachable(), use it to replace
__{get,put}_user_bad() and 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                        | 4 ++++
 xen/arch/x86/include/asm/uaccess.h               | 7 ++-----
 xen/include/xen/compiler.h                       | 8 ++++++++
 4 files changed, 18 insertions(+), 5 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-01-24  8:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-22 13:48 [XEN PATCH 0/3] Introduce and use static_assert_unreachable() Federico Serafini
2024-01-22 13:48 ` [XEN PATCH 1/3] xen: introduce static_assert_unreachable() Federico Serafini
2024-01-22 14:02   ` Jan Beulich
2024-01-24  8:20     ` Federico Serafini
2024-01-24  8:33       ` Jan Beulich
2024-01-22 13:48 ` [XEN PATCH 2/3] x86/uaccess: replace __{get,put}_user_bad() with static_assert_unreachable() Federico Serafini
2024-01-22 13:48 ` [XEN PATCH 3/3] automation/eclair: add deviation for MISRA C:2012 Rule 16.3 Federico Serafini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.