From 0fda3648f96f5fe9b1b14870d1e51375901fc348 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 8 Mar 2015 09:17:38 +0000 Subject: Reduced MISRA annoyances. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7735 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/rt/src/chregistry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/rt/src/chregistry.c') diff --git a/os/rt/src/chregistry.c b/os/rt/src/chregistry.c index 8a237ab69..162d69bf2 100644 --- a/os/rt/src/chregistry.c +++ b/os/rt/src/chregistry.c @@ -65,8 +65,8 @@ /*===========================================================================*/ #define _offsetof(st, m) \ - /*lint -save -e9005 -e946 -e947 -e9033 -e413 [11.8, 18.2, 18.3, 10.8 1.3] - Normal pointers arithmetic, it is safe.*/ \ + /*lint -save -e9005 -e9033 -e413 [11.8, 10.8 1.3] Normal pointers + arithmetic, it is safe.*/ \ ((size_t)((char *)&((st *)0)->m - (char *)0)) \ /*lint -restore*/ -- cgit v1.2.3