All of lore.kernel.org
 help / color / mirror / Atom feed
* [XEN PATCH][for-4.19 v2 0/1] address violations of MISRA C:2012 Rule 11.9
@ 2023-10-11 12:46 Nicola Vetrini
  2023-10-11 12:46 ` [XEN PATCH][for-4.19 v2 1/1] xen: introduce a deviation for " Nicola Vetrini
  0 siblings, 1 reply; 10+ messages in thread
From: Nicola Vetrini @ 2023-10-11 12:46 UTC (permalink / raw)
  To: xen-devel
  Cc: sstabellini, michal.orzel, xenia.ragiadakou, ayan.kumar.halder,
	consulting, jbeulich, andrew.cooper3, roger.pau, Nicola Vetrini,
	Simone Ballarin, Doug Goldstein, George Dunlap, Julien Grall,
	Wei Liu

Rule 11.9 forbids the usage of '0' as a null pointer constant, therefore uses of
this pattern have been amended. One exception, recorded in deviations.rst, is in
__ACCESS_ONCE to do a scalar type check.

Changes in v2:
- dropped patch 2, as it has already been committed to [1]
- rebased against [2] to insert the deviation record in the newly created
  deviations.rst

[1] https://gitlab.com/xen-project/people/andyhhp/xen/-/commits/for-next
[2] https://marc.info/?l=xen-devel&m=169686613720371&w=2

Nicola Vetrini (1):
  xen: introduce a deviation for Rule 11.9

 automation/eclair_analysis/ECLAIR/deviations.ecl | 9 +++++++++
 docs/misra/deviations.rst                        | 5 +++++
 xen/include/xen/compiler.h                       | 5 ++++-
 xen/include/xen/kernel.h                         | 2 +-
 4 files changed, 19 insertions(+), 2 deletions(-)

--
2.34.1


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

end of thread, other threads:[~2023-10-17  8:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-11 12:46 [XEN PATCH][for-4.19 v2 0/1] address violations of MISRA C:2012 Rule 11.9 Nicola Vetrini
2023-10-11 12:46 ` [XEN PATCH][for-4.19 v2 1/1] xen: introduce a deviation for " Nicola Vetrini
2023-10-11 16:56   ` andrew.cooper3
2023-10-12 12:27     ` Nicola Vetrini
2023-10-16 13:46     ` Jan Beulich
2023-10-12 23:24   ` Stefano Stabellini
2023-10-16 13:43   ` Jan Beulich
2023-10-16 16:49     ` Nicola Vetrini
2023-10-17  6:51       ` Jan Beulich
2023-10-17  8:16         ` Nicola Vetrini

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.