address violations of MISRA C:2012 Rule 11.9
Status from this message: I've picked this up for 4.19. It's trivial and not liable to conflict
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xen: introduce a deviation for Rule 11.9automation/ docs/ xen/ +1 more | +15 | 6 replies | |
| 2/2 | xen/spinlock: fix use of 0 as a null pointer constantxen/ | +1 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Stefano Stabellini |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [XEN PATCH][for-4.19 0/2] address violations of MISRA C:2012 Rule 11.9
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 rules.rst, is in __ACCESS_ONCE to do a scalar type check.
The series only touches common headers, therefore it should be safe to include in the for-4.19 branch.
Nicola Vetrini (2):
xen: introduce a deviation for Rule 11.9 xen/spinlock: fix use of 0 as a null pointer constant
.../eclair_analysis/ECLAIR/deviations.ecl | 23 +++++++------------ docs/misra/rules.rst | 3 ++- xen/include/xen/compiler.h | 5 +++- xen/include/xen/kernel.h | 2 +- xen/include/xen/spinlock.h | 2 +- 5 files changed, 16 insertions(+), 19 deletions(-)
--
2.34.1