Skip to content

Introduce and use STATIC_ASSERT_UNREACHABLE()

Federico Serafini xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 28 repliesIn review
  2. v13 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen: introduce STATIC_ASSERT_UNREACHABLE()xen/include/xen/compiler.h+7 -03 replies
2/3x86/uaccess: replace __{get,put}_user_bad() with STATIC_ASSERT_UNREACHABLE()xen/arch/x86/include/asm/uaccess.h+2 -522 replies
3/3automation/eclair: add deviation for MISRA C:2012 Rule 16.3automation/eclair_analysis/ECLAIR/deviations.ecl docs/misra/deviations.rst+9 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchJan BeulichStefano Stabellini
1/3A-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [XEN PATCH v2 0/3] Introduce and use STATIC_ASSERT_UNREACHABLE()

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(-)
Signature · 1 line
2.34.1