public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] minmax: Fix header inclusions
@ 2023-07-21 13:39 Andy Shevchenko
  2023-07-21 14:10 ` Herve Codina
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andy Shevchenko @ 2023-07-21 13:39 UTC (permalink / raw)
  To: Andy Shevchenko, Herve Codina, Jason A. Donenfeld, linux-kernel
  Cc: Rasmus Villemoes, Andrew Morton

BUILD_BUG_ON*() are defined in build_bug.h.
It also provides __UNIQUE_ID() that is defined
in the compiler.h.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 include/linux/minmax.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/minmax.h b/include/linux/minmax.h
index 798c6963909f..049480235e53 100644
--- a/include/linux/minmax.h
+++ b/include/linux/minmax.h
@@ -2,6 +2,7 @@
 #ifndef _LINUX_MINMAX_H
 #define _LINUX_MINMAX_H
 
+#include <linux/build_bug.h>
 #include <linux/const.h>
 
 /*
-- 
2.40.0.1.gaa8946217a0b


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-27 13:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-21 13:39 [PATCH v1 1/1] minmax: Fix header inclusions Andy Shevchenko
2023-07-21 14:10 ` Herve Codina
2023-07-24 14:29   ` Andy Shevchenko
2023-07-27 13:10     ` Andy Shevchenko
2023-07-21 15:52 ` kernel test robot
2023-07-21 16:01   ` Andy Shevchenko
2023-07-21 16:13 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox