[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250428072754.3265274-1-andriy.shevchenko@linux.intel.com>
Date: Mon, 28 Apr 2025 10:27:54 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Alexandru Ardelean <aardelean@...libre.com>,
linux-kernel@...r.kernel.org
Cc: Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH v1 1/1] util_macros.h: Make the header more resilient
Add missing header inclusions and protect against double inclusion.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
---
include/linux/util_macros.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/linux/util_macros.h b/include/linux/util_macros.h
index 7b64fb597f85..8239a7748f49 100644
--- a/include/linux/util_macros.h
+++ b/include/linux/util_macros.h
@@ -2,7 +2,10 @@
#ifndef _LINUX_HELPER_MACROS_H_
#define _LINUX_HELPER_MACROS_H_
+#include <linux/compiler_attributes.h>
#include <linux/math.h>
+#include <linux/typecheck.h>
+#include <linux/stddef.h>
/**
* for_each_if - helper for handling conditionals in various for_each macros
--
2.47.2
Powered by blists - more mailing lists