Add a new structure ctrl and place it in 4 padding bytes
of _ddebug struct. Move flags field to the ctrl struct
and create setter and getter for the flags field. Add unused
fields to explicitly emphasise size of each bitfield.
This step prepares for addition of a trace_dst field.
Layout of _ddebug struct after addition of ctrl is:
struct _ddebug {
union {
struct static_key_true dd_key_true; /* 0 16 */
struct static_key_false dd_key_false; /* 0 16 */
} key; /* 0 16 */
union {
struct static_key_true dd_key_true; /* 0 16 */
struct static_key_false dd_key_false; /* 0 16 */
};
const char * modname; /* 16 8 */
const char * function; /* 24 8 */
const char * filename; /* 32 8 */
const char * format; /* 40 8 */
unsigned int lineno:18; /* 48: 0 4 */
unsigned int class_id:6; /* 48:18 4 */
unsigned int unused:8; /* 48:24 4 */
struct dd_ctrl ctrl; /* 52 4 */
/* size: 56, cachelines: 1, members: 9 */
/* last cacheline: 56 bytes */
} __attribute__((__aligned__(8)));
Signed-off-by: Łukasz Bartosik <lb@semihalf.com>
---
include/linux/dynamic_debug.h | 9 +++++--
lib/dynamic_debug.c | 44 ++++++++++++++++++++++-------------
2 files changed, 35 insertions(+), 18 deletions(-)
diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h
index b9237e4ecd1b..684766289bfc 100644
--- a/include/linux/dynamic_debug.h
+++ b/include/linux/dynamic_debug.h
@@ -32,6 +32,8 @@ struct _ddebug {
#define CLS_BITS 6
unsigned int class_id:CLS_BITS;
#define _DPRINTK_CLASS_DFLT ((1 << CLS_BITS) - 1)
+ unsigned int unused:8;
+
/*
* The flags field controls the behaviour at the callsite.
* The bits here are changed dynamically when the user
@@ -58,7 +60,10 @@ struct _ddebug {
#else
#define _DPRINTK_FLAGS_DEFAULT 0
#endif
- unsigned int flags:8;
+ struct {
+ unsigned int flags:8;
+ unsigned unused:24;
+ } ctrl;
} __attribute__((aligned(8)));
enum class_map_type {
@@ -171,7 +176,7 @@ void __dynamic_ibdev_dbg(struct _ddebug *descriptor,
.filename = __FILE__, \
.format = (fmt), \
.lineno = __LINE__, \
- .flags = _DPRINTK_FLAGS_DEFAULT, \
+ .ctrl = { .flags = _DPRINTK_FLAGS_DEFAULT }, \
.class_id = cls, \
_DPRINTK_KEY_INIT \
}; \
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c
index 1ed3c4f16f69..ca87adf327df 100644
--- a/lib/dynamic_debug.c
+++ b/lib/dynamic_debug.c
@@ -80,6 +80,16 @@ module_param(verbose, int, 0644);
MODULE_PARM_DESC(verbose, " dynamic_debug/control processing "
"( 0 = off (default), 1 = module add/rm, 2 = >control summary, 3 = parsing, 4 = per-site changes)");
+static inline unsigned int get_flags(const struct _ddebug *desc)
+{
+ return desc->ctrl.flags;
+}
+
+static inline void set_flags(struct _ddebug *desc, unsigned int val)
+{
+ desc->ctrl.flags = val;
+}
+
/* Return the path relative to source root */
static inline const char *trim_prefix(const char *path)
{
@@ -247,11 +257,11 @@ static int ddebug_change(const struct ddebug_query *query,
nfound++;
- newflags = (dp->flags & modifiers->mask) | modifiers->flags;
- if (newflags == dp->flags)
+ newflags = (get_flags(dp) & modifiers->mask) | modifiers->flags;
+ if (newflags == get_flags(dp))
continue;
#ifdef CONFIG_JUMP_LABEL
- if (dp->flags & _DPRINTK_FLAGS_ENABLED) {
+ if (get_flags(dp) & _DPRINTK_FLAGS_ENABLED) {
if (!(newflags & _DPRINTK_FLAGS_ENABLED))
static_branch_disable(&dp->key.dd_key_true);
} else if (newflags & _DPRINTK_FLAGS_ENABLED) {
@@ -261,9 +271,9 @@ static int ddebug_change(const struct ddebug_query *query,
v4pr_info("changed %s:%d [%s]%s %s => %s\n",
trim_prefix(dp->filename), dp->lineno,
dt->mod_name, dp->function,
- ddebug_describe_flags(dp->flags, &fbuf),
+ ddebug_describe_flags(get_flags(dp), &fbuf),
ddebug_describe_flags(newflags, &nbuf));
- dp->flags = newflags;
+ set_flags(dp, newflags);
}
}
mutex_unlock(&ddebug_lock);
@@ -824,10 +834,11 @@ static int remaining(int wrote)
static char *__dynamic_emit_prefix(const struct _ddebug *desc, char *buf)
{
+ unsigned int flags = get_flags(desc);
int pos_after_tid;
int pos = 0;
- if (desc->flags & _DPRINTK_FLAGS_INCL_TID) {
+ if (flags & _DPRINTK_FLAGS_INCL_TID) {
if (in_interrupt())
pos += snprintf(buf + pos, remaining(pos), "<intr> ");
else
@@ -835,16 +846,16 @@ static char *__dynamic_emit_prefix(const struct _ddebug *desc, char *buf)
task_pid_vnr(current));
}
pos_after_tid = pos;
- if (desc->flags & _DPRINTK_FLAGS_INCL_MODNAME)
+ if (flags & _DPRINTK_FLAGS_INCL_MODNAME)
pos += snprintf(buf + pos, remaining(pos), "%s:",
desc->modname);
- if (desc->flags & _DPRINTK_FLAGS_INCL_FUNCNAME)
+ if (flags & _DPRINTK_FLAGS_INCL_FUNCNAME)
pos += snprintf(buf + pos, remaining(pos), "%s:",
desc->function);
- if (desc->flags & _DPRINTK_FLAGS_INCL_SOURCENAME)
+ if (flags & _DPRINTK_FLAGS_INCL_SOURCENAME)
pos += snprintf(buf + pos, remaining(pos), "%s:",
trim_prefix(desc->filename));
- if (desc->flags & _DPRINTK_FLAGS_INCL_LINENO)
+ if (flags & _DPRINTK_FLAGS_INCL_LINENO)
pos += snprintf(buf + pos, remaining(pos), "%d:",
desc->lineno);
if (pos - pos_after_tid)
@@ -857,7 +868,7 @@ static char *__dynamic_emit_prefix(const struct _ddebug *desc, char *buf)
static inline char *dynamic_emit_prefix(struct _ddebug *desc, char *buf)
{
- if (unlikely(desc->flags & _DPRINTK_FLAGS_INCL_ANY))
+ if (unlikely(get_flags(desc) & _DPRINTK_FLAGS_INCL_ANY))
return __dynamic_emit_prefix(desc, buf);
return buf;
}
@@ -917,7 +928,8 @@ static void ddebug_trace(struct _ddebug *desc, const struct device *dev,
__printf(2, 3)
static void ddebug_printk(struct _ddebug *desc, const char *fmt, ...)
{
- if (desc->flags & _DPRINTK_FLAGS_TRACE) {
+
+ if (get_flags(desc) & _DPRINTK_FLAGS_TRACE) {
va_list args;
va_start(args, fmt);
@@ -929,7 +941,7 @@ static void ddebug_printk(struct _ddebug *desc, const char *fmt, ...)
va_end(args);
}
- if (desc->flags & _DPRINTK_FLAGS_PRINTK) {
+ if (get_flags(desc) & _DPRINTK_FLAGS_PRINTK) {
va_list args;
va_start(args, fmt);
@@ -943,7 +955,7 @@ static void ddebug_dev_printk(struct _ddebug *desc, const struct device *dev,
const char *fmt, ...)
{
- if (desc->flags & _DPRINTK_FLAGS_TRACE) {
+ if (get_flags(desc) & _DPRINTK_FLAGS_TRACE) {
va_list args;
va_start(args, fmt);
@@ -951,7 +963,7 @@ static void ddebug_dev_printk(struct _ddebug *desc, const struct device *dev,
va_end(args);
}
- if (desc->flags & _DPRINTK_FLAGS_PRINTK) {
+ if (get_flags(desc) & _DPRINTK_FLAGS_PRINTK) {
va_list args;
va_start(args, fmt);
@@ -1247,7 +1259,7 @@ static int ddebug_proc_show(struct seq_file *m, void *p)
seq_printf(m, "%s:%u [%s]%s =%s \"",
trim_prefix(dp->filename), dp->lineno,
iter->table->mod_name, dp->function,
- ddebug_describe_flags(dp->flags, &flags));
+ ddebug_describe_flags(get_flags(dp), &flags));
seq_escape_str(m, dp->format, ESCAPE_SPACE, "\t\r\n\"");
seq_puts(m, "\"");
--
2.42.0.869.gea05f2083d-goog
Hi Łukasz,
kernel test robot noticed the following build warnings:
[auto build test WARNING on akpm-mm/mm-everything]
[also build test WARNING on linus/master v6.6 next-20231103]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/ukasz-Bartosik/dyndbg-add-_DPRINTK_FLAGS_ENABLED/20231103-212105
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20231103131011.1316396-9-lb%40semihalf.com
patch subject: [PATCH v1 08/12] dyndbg: move flags field to a new structure
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20231104/202311040450.FoHhKIIg-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231104/202311040450.FoHhKIIg-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311040450.FoHhKIIg-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/asm-generic/bug.h:5,
from arch/m68k/include/asm/bug.h:32,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/mm.h:6,
from mm/page_alloc.c:19:
mm/page_alloc.c: In function 'zone_pcp_init':
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:231:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
231 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:256:9: note: in expansion of macro '__dynamic_func_call_cls'
256 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:258:9: note: in expansion of macro '_dynamic_func_call_cls'
258 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:277:9: note: in expansion of macro '_dynamic_func_call'
277 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:579:9: note: in expansion of macro 'dynamic_pr_debug'
579 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
mm/page_alloc.c:5691:17: note: in expansion of macro 'pr_debug'
5691 | pr_debug(" %s zone: %lu pages, LIFO batch:%u\n", zone->name,
| ^~~~~~~~
mm/page_alloc.c: In function 'alloc_contig_dump_pages':
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
mm/page_alloc.c:6250:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
6250 | if (DYNAMIC_DEBUG_BRANCH(descriptor)) {
| ^~~~~~~~~~~~~~~~~~~~
In file included from include/linux/printk.h:564,
from include/asm-generic/bug.h:22:
>> mm/page_alloc.c:6248:39: warning: variable 'descriptor' set but not used [-Wunused-but-set-variable]
6248 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, "migrate failure");
| ^~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
mm/page_alloc.c:6248:9: note: in expansion of macro 'DEFINE_DYNAMIC_DEBUG_METADATA'
6248 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, "migrate failure");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from include/linux/build_bug.h:5,
from include/linux/container_of.h:5,
from include/linux/list.h:5,
from include/linux/rculist.h:10,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from fs/btrfs/delayed-ref.c:6:
fs/btrfs/delayed-ref.c: In function 'btrfs_check_delayed_seq':
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/delayed-ref.c:519:17: note: in expansion of macro 'btrfs_debug'
519 | btrfs_debug(fs_info,
| ^~~~~~~~~~~
In file included from include/linux/printk.h:564,
from include/asm-generic/bug.h:22,
from arch/m68k/include/asm/bug.h:32,
from include/linux/bug.h:5,
from include/linux/thread_info.h:13,
from include/asm-generic/preempt.h:5,
from ./arch/m68k/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:79,
from arch/m68k/include/asm/irqflags.h:6,
from include/linux/irqflags.h:17,
from arch/m68k/include/asm/atomic.h:6,
from include/linux/atomic.h:7,
from include/linux/rcupdate.h:25,
from include/linux/rculist.h:11:
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug322' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/delayed-ref.c:519:17: note: in expansion of macro 'btrfs_debug'
519 | btrfs_debug(fs_info,
| ^~~~~~~~~~~
--
In file included from include/linux/build_bug.h:5,
from include/linux/container_of.h:5,
from include/linux/list.h:5,
from include/linux/rculist.h:10,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from fs/btrfs/relocation.c:6:
fs/btrfs/relocation.c: In function 'create_reloc_root':
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:833:17: note: in expansion of macro 'btrfs_abort_transaction'
833 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/printk.h:564,
from include/asm-generic/bug.h:22,
from arch/m68k/include/asm/bug.h:32,
from include/linux/bug.h:5,
from include/linux/thread_info.h:13,
from include/asm-generic/preempt.h:5,
from ./arch/m68k/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:79,
from arch/m68k/include/asm/irqflags.h:6,
from include/linux/irqflags.h:17,
from arch/m68k/include/asm/atomic.h:6,
from include/linux/atomic.h:7,
from include/linux/rcupdate.h:25,
from include/linux/rculist.h:11:
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug320' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:833:17: note: in expansion of macro 'btrfs_abort_transaction'
833 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/relocation.c: In function 'replace_file_extents':
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1167:25: note: in expansion of macro 'btrfs_abort_transaction'
1167 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug322' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1167:25: note: in expansion of macro 'btrfs_abort_transaction'
1167 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1178:25: note: in expansion of macro 'btrfs_abort_transaction'
1178 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug324' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1178:25: note: in expansion of macro 'btrfs_abort_transaction'
1178 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/relocation.c: In function 'replace_path':
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1390:25: note: in expansion of macro 'btrfs_abort_transaction'
1390 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug326' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1390:25: note: in expansion of macro 'btrfs_abort_transaction'
1390 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1399:25: note: in expansion of macro 'btrfs_abort_transaction'
1399 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug328' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1399:25: note: in expansion of macro 'btrfs_abort_transaction'
1399 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1409:25: note: in expansion of macro 'btrfs_abort_transaction'
1409 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug330' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1409:25: note: in expansion of macro 'btrfs_abort_transaction'
1409 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1419:25: note: in expansion of macro 'btrfs_abort_transaction'
1419 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug332' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1419:25: note: in expansion of macro 'btrfs_abort_transaction'
1419 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/relocation.c: In function 'merge_reloc_root':
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1843:25: note: in expansion of macro 'btrfs_abort_transaction'
1843 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug336' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1843:25: note: in expansion of macro 'btrfs_abort_transaction'
1843 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/relocation.c: In function 'prepare_to_merge':
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1914:25: note: in expansion of macro 'btrfs_abort_transaction'
1914 | btrfs_abort_transaction(trans, (int)PTR_ERR(root));
| ^~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug338' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1914:25: note: in expansion of macro 'btrfs_abort_transaction'
1914 | btrfs_abort_transaction(trans, (int)PTR_ERR(root));
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1947:25: note: in expansion of macro 'btrfs_abort_transaction'
1947 | btrfs_abort_transaction(trans, -EUCLEAN);
| ^~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug340' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1947:25: note: in expansion of macro 'btrfs_abort_transaction'
1947 | btrfs_abort_transaction(trans, -EUCLEAN);
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1969:25: note: in expansion of macro 'btrfs_abort_transaction'
1969 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug342' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:1969:25: note: in expansion of macro 'btrfs_abort_transaction'
1969 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/relocation.c: In function 'do_relocation':
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:2532:33: note: in expansion of macro 'btrfs_abort_transaction'
2532 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug344' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:2532:33: note: in expansion of macro 'btrfs_abort_transaction'
2532 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/relocation.c: In function 'delete_orphan_inode':
include/linux/dynamic_debug.h:213:28: error: 'struct _ddebug' has no member named 'flags'
213 | unlikely(descriptor.flags & _DPRINTK_FLAGS_ENABLED)
| ^
include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/dynamic_debug.h:240:13: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH'
240 | if (DYNAMIC_DEBUG_BRANCH(id)) \
| ^~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:3868:17: note: in expansion of macro 'btrfs_abort_transaction'
3868 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:180:45: warning: variable '__UNIQUE_ID_ddebug353' set but not used [-Wunused-but-set-variable]
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~~~~~~
include/linux/dynamic_debug.h:173:31: note: in definition of macro 'DEFINE_DYNAMIC_DEBUG_METADATA_CLS'
173 | __section("__dyndbg") name = { \
| ^~~~
include/linux/dynamic_debug.h:266:9: note: in expansion of macro '__dynamic_func_call_cls_no_desc'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:29: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/compiler_types.h:75:22: note: in expansion of macro '___PASTE'
75 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~
include/linux/compiler.h:180:37: note: in expansion of macro '__PASTE'
180 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
| ^~~~~~~
include/linux/dynamic_debug.h:266:41: note: in expansion of macro '__UNIQUE_ID'
266 | __dynamic_func_call_cls_no_desc(__UNIQUE_ID(ddebug), cls, fmt, \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call_cls_no_desc'
269 | _dynamic_func_call_cls_no_desc(_DPRINTK_CLASS_DFLT, fmt, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/messages.h:110:9: note: in expansion of macro '_dynamic_func_call_no_desc'
110 | _dynamic_func_call_no_desc(fmt, btrfs_printk, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/btrfs/transaction.h:222:25: note: in expansion of macro 'btrfs_debug'
222 | btrfs_debug((trans)->fs_info, \
| ^~~~~~~~~~~
fs/btrfs/relocation.c:3868:17: note: in expansion of macro 'btrfs_abort_transaction'
3868 | btrfs_abort_transaction(trans, ret);
| ^~~~~~~~~~~~~~~~~~~~~~~
..
vim +/descriptor +6248 mm/page_alloc.c
e95d372c4cd46b6 Kefeng Wang 2023-05-16 6243
8df995f6bde01de Alexandre Ghiti 2019-05-13 6244 #ifdef CONFIG_CONTIG_ALLOC
a1394bddf9b60e9 Minchan Kim 2021-04-29 6245 /* Usage: See admin-guide/dynamic-debug-howto.rst */
a1394bddf9b60e9 Minchan Kim 2021-04-29 6246 static void alloc_contig_dump_pages(struct list_head *page_list)
a1394bddf9b60e9 Minchan Kim 2021-04-29 6247 {
a1394bddf9b60e9 Minchan Kim 2021-04-29 @6248 DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, "migrate failure");
a1394bddf9b60e9 Minchan Kim 2021-04-29 6249
a1394bddf9b60e9 Minchan Kim 2021-04-29 @6250 if (DYNAMIC_DEBUG_BRANCH(descriptor)) {
a1394bddf9b60e9 Minchan Kim 2021-04-29 6251 struct page *page;
a1394bddf9b60e9 Minchan Kim 2021-04-29 6252
a1394bddf9b60e9 Minchan Kim 2021-04-29 6253 dump_stack();
a1394bddf9b60e9 Minchan Kim 2021-04-29 6254 list_for_each_entry(page, page_list, lru)
a1394bddf9b60e9 Minchan Kim 2021-04-29 6255 dump_page(page, "migration failure");
a1394bddf9b60e9 Minchan Kim 2021-04-29 6256 }
a1394bddf9b60e9 Minchan Kim 2021-04-29 6257 }
a1394bddf9b60e9 Minchan Kim 2021-04-29 6258
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
© 2016 - 2025 Red Hat, Inc.