Make it more obvious that the bitfield is 32 bits wide.
This will be especially useful as the next commit will change the
bitfield.

No functional change.

Signed-off-by: Thomas Weißschuh <[email protected]>
---
 include/linux/dynamic_debug.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h
index 05743900a116..0b34343df594 100644
--- a/include/linux/dynamic_debug.h
+++ b/include/linux/dynamic_debug.h
@@ -7,6 +7,7 @@
 #endif
 
 #include <linux/build_bug.h>
+#include <linux/types.h>
 
 /*
  * An instance of this structure is created in a special
@@ -22,9 +23,9 @@ struct _ddebug {
        const char *function;
        const char *filename;
        const char *format;
-       unsigned int lineno:18;
+       u32 lineno:18;
 #define CLS_BITS 6
-       unsigned int class_id:CLS_BITS;
+       u32 class_id:CLS_BITS;
 #define _DPRINTK_CLASS_DFLT            ((1 << CLS_BITS) - 1)
        /*
         * The flags field controls the behaviour at the callsite.
@@ -50,7 +51,7 @@ struct _ddebug {
 #else
 #define _DPRINTK_FLAGS_DEFAULT 0
 #endif
-       unsigned int flags:8;
+       u32 flags:8;
 #ifdef CONFIG_JUMP_LABEL
        union {
                struct static_key_true dd_key_true;

-- 
2.56.0


Reply via email to