* [PATCH v2] bitfield.h: include <linux/build_bug.h> instead of <linux/bug.h>
@ 2017-09-18 2:12 Masahiro Yamada
2017-09-18 8:01 ` Jakub Kicinski
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2017-09-18 2:12 UTC (permalink / raw)
To: Andrew Morton
Cc: Dinan Gunawardena, Kalle Valo, Ian Abbott, Jakub Kicinski,
David S . Miller, Masahiro Yamada, linux-kernel
Since commit bc6245e5efd7 ("bug: split BUILD_BUG stuff out into
<linux/build_bug.h>"), #include <linux/build_bug.h> is better
to pull minimal headers needed for BUILG_BUG() family.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
Changes in v2:
- Fix a typo s/minumam/minimal/
include/linux/bitfield.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/bitfield.h b/include/linux/bitfield.h
index 8b9d6fff002d..9e16b3381642 100644
--- a/include/linux/bitfield.h
+++ b/include/linux/bitfield.h
@@ -15,7 +15,7 @@
#ifndef _LINUX_BITFIELD_H
#define _LINUX_BITFIELD_H
-#include <linux/bug.h>
+#include <linux/build_bug.h>
/*
* Bitfield access macros
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] bitfield.h: include <linux/build_bug.h> instead of <linux/bug.h>
2017-09-18 2:12 [PATCH v2] bitfield.h: include <linux/build_bug.h> instead of <linux/bug.h> Masahiro Yamada
@ 2017-09-18 8:01 ` Jakub Kicinski
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kicinski @ 2017-09-18 8:01 UTC (permalink / raw)
To: Masahiro Yamada
Cc: Andrew Morton, Dinan Gunawardena, Kalle Valo, Ian Abbott,
David S . Miller, linux-kernel
On Mon, 18 Sep 2017 11:12:55 +0900, Masahiro Yamada wrote:
> Since commit bc6245e5efd7 ("bug: split BUILD_BUG stuff out into
> <linux/build_bug.h>"), #include <linux/build_bug.h> is better
> to pull minimal headers needed for BUILG_BUG() family.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-18 8:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-18 2:12 [PATCH v2] bitfield.h: include <linux/build_bug.h> instead of <linux/bug.h> Masahiro Yamada
2017-09-18 8:01 ` Jakub Kicinski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).