[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230103121937.32085-1-andriy.shevchenko@linux.intel.com>
Date: Tue, 3 Jan 2023 14:19:37 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-kernel@...r.kernel.org
Cc: Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH v1 1/1] util_macros.h: Add missing insclusion
The header is the direct user of definitions from the math.h,
include it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
---
include/linux/util_macros.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/util_macros.h b/include/linux/util_macros.h
index 72299f261b25..b641ec00be3e 100644
--- a/include/linux/util_macros.h
+++ b/include/linux/util_macros.h
@@ -2,6 +2,8 @@
#ifndef _LINUX_HELPER_MACROS_H_
#define _LINUX_HELPER_MACROS_H_
+#include <linux/math.h>
+
#define __find_closest(x, a, as, op) \
({ \
typeof(as) __fc_i, __fc_as = (as) - 1; \
--
2.35.1
Powered by blists - more mailing lists