aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_buffers.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/hal_buffers.h')
-rw-r--r--os/hal/include/hal_buffers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/include/hal_buffers.h b/os/hal/include/hal_buffers.h
index 9c5ea42d6..200c1b295 100644
--- a/os/hal/include/hal_buffers.h
+++ b/os/hal/include/hal_buffers.h
@@ -47,7 +47,9 @@
/* Derived constants and error checks. */
/*===========================================================================*/
+/*lint -save -e9027 [10.1] It is meant to be this way, not an error.*/
#if (BUFFERS_CHUNKS_SIZE & (BUFFERS_CHUNKS_SIZE - 1)) != 0
+/*lint -restore*/
#error "BUFFERS_CHUNKS_SIZE must be a power of two"
#endif