-
Notifications
You must be signed in to change notification settings - Fork 414
ubuntu20.04 make error ! #236
Description
root@manage:~/flashcache# uname -r
5.4.0-37-generic
root@manage:~/flashcache# make
make -C src KERNEL_TREE=/lib/modules/5.4.0-37-generic/build PWD=/root/flashcache/src all
make[1]: Entering directory '/root/flashcache/src'
make -C /lib/modules/5.4.0-37-generic/build M=/root/flashcache/src modules V=0
make[2]: Entering directory '/usr/src/linux-headers-5.4.0-37-generic'
CC [M] /root/flashcache/src/flashcache_conf.o
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
/root/flashcache/src/flashcache_conf.c: In function ‘flashcache_writeback_md_store’:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:245:6: note: in expansion of macro ‘DMERR’
245 | DMERR("flashcache_writeback_md_store: Could not write out cache metadata block %lu error %d !",
| ^~~~~
/root/flashcache/src/flashcache_conf.c:245:87: note: format string is defined here
245 | DMERR("flashcache_writeback_md_store: Could not write out cache metadata block %lu error %d !",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:266:5: note: in expansion of macro ‘DMERR’
266 | DMERR("flashcache_writeback_md_store: Could not write out cache metadata block %lu error %d !",
| ^~~~~
/root/flashcache/src/flashcache_conf.c:266:86: note: format string is defined here
266 | DMERR("flashcache_writeback_md_store: Could not write out cache metadata block %lu error %d !",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:320:3: note: in expansion of macro ‘DMERR’
320 | DMERR("flashcache_writeback_md_store: Could not write out cache metadata superblock %lu error %d !",
| ^~~~~
/root/flashcache/src/flashcache_conf.c:320:89: note: format string is defined here
320 | DMERR("flashcache_writeback_md_store: Could not write out cache metadata superblock %lu error %d !",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
/root/flashcache/src/flashcache_conf.c: In function ‘flashcache_writethrough_create’:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:359:3: note: in expansion of macro ‘DMERR’
359 | DMERR("Requested cache size exeeds the cache device's capacity"
| ^~~~~
/root/flashcache/src/flashcache_conf.c:360:13: note: format string is defined here
360 | "(%lu>%lu)",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:359:3: note: in expansion of macro ‘DMERR’
359 | DMERR("Requested cache size exeeds the cache device's capacity"
| ^~~~~
/root/flashcache/src/flashcache_conf.c:360:17: note: format string is defined here
360 | "(%lu>%lu)",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
14 | #define KERN_INFO KERN_SOH "6" / informational /
| ^~~~~~~~
./include/linux/printk.h:327:17: note: in expansion of macro ‘KERN_INFO’
327 | pr_printk_hash(KERN_INFO, fmt, ##VA_ARGS)
| ^~~~~~~~~
./include/linux/device-mapper.h:540:26: note: in expansion of macro ‘pr_info’
540 | #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~~
/root/flashcache/src/flashcache_conf.c:365:2: note: in expansion of macro ‘DMINFO’
365 | DMINFO("Allocate %luKB (%luB per) mem for %lu-entry cache"
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:365:21: note: format string is defined here
365 | DMINFO("Allocate %luKB (%luB per) mem for %lu-entry cache"
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
14 | #define KERN_INFO KERN_SOH "6" / informational /
| ^~~~~~~~
./include/linux/printk.h:327:17: note: in expansion of macro ‘KERN_INFO’
327 | pr_printk_hash(KERN_INFO, fmt, ##VA_ARGS)
| ^~~~~~~~~
./include/linux/device-mapper.h:540:26: note: in expansion of macro ‘pr_info’
540 | #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~~
/root/flashcache/src/flashcache_conf.c:365:2: note: in expansion of macro ‘DMINFO’
365 | DMINFO("Allocate %luKB (%luB per) mem for %lu-entry cache"
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:365:46: note: format string is defined here
365 | DMINFO("Allocate %luKB (%luB per) mem for %lu-entry cache"
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
14 | #define KERN_INFO KERN_SOH "6" / informational /
| ^~~~~~~~
./include/linux/printk.h:327:17: note: in expansion of macro ‘KERN_INFO’
327 | pr_printk_hash(KERN_INFO, fmt, ##VA_ARGS)
| ^~~~~~~~~
./include/linux/device-mapper.h:540:26: note: in expansion of macro ‘pr_info’
540 | #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~~
/root/flashcache/src/flashcache_conf.c:365:2: note: in expansion of macro ‘DMINFO’
365 | DMINFO("Allocate %luKB (%luB per) mem for %lu-entry cache"
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:366:22: note: format string is defined here
366 | "(capacity:%luMB, associativity:%u, block size:%u "
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
/root/flashcache/src/flashcache_conf.c: In function ‘flashcache_writeback_create’:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:418:3: note: in expansion of macro ‘DMERR’
418 | DMERR("flashcache_writeback_create: Could not read cache superblock %lu error %d !",
| ^~~~~
/root/flashcache/src/flashcache_conf.c:418:73: note: format string is defined here
418 | DMERR("flashcache_writeback_create: Could not read cache superblock %lu error %d !",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:443:3: note: in expansion of macro ‘DMERR’
443 | DMERR("Requested cache size exceeds the cache device's capacity"
| ^~~~~
/root/flashcache/src/flashcache_conf.c:444:13: note: format string is defined here
444 | "(%lu>%lu)",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:443:3: note: in expansion of macro ‘DMERR’
443 | DMERR("Requested cache size exceeds the cache device's capacity"
| ^~~~~
/root/flashcache/src/flashcache_conf.c:444:17: note: format string is defined here
444 | "(%lu>%lu)",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
14 | #define KERN_INFO KERN_SOH "6" / informational /
| ^~~~~~~~
./include/linux/printk.h:327:17: note: in expansion of macro ‘KERN_INFO’
327 | pr_printk_hash(KERN_INFO, fmt, ##VA_ARGS)
| ^~~~~~~~~
./include/linux/device-mapper.h:540:26: note: in expansion of macro ‘pr_info’
540 | #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~~
/root/flashcache/src/flashcache_conf.c:450:2: note: in expansion of macro ‘DMINFO’
450 | DMINFO("Allocate %luKB (%luB per) mem for %lu-entry cache"
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:450:21: note: format string is defined here
450 | DMINFO("Allocate %luKB (%luB per) mem for %lu-entry cache"
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
14 | #define KERN_INFO KERN_SOH "6" / informational /
| ^~~~~~~~
./include/linux/printk.h:327:17: note: in expansion of macro ‘KERN_INFO’
327 | pr_printk_hash(KERN_INFO, fmt, ##VA_ARGS)
| ^~~~~~~~~
./include/linux/device-mapper.h:540:26: note: in expansion of macro ‘pr_info’
540 | #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~~
/root/flashcache/src/flashcache_conf.c:450:2: note: in expansion of macro ‘DMINFO’
450 | DMINFO("Allocate %luKB (%luB per) mem for %lu-entry cache"
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:450:46: note: format string is defined here
450 | DMINFO("Allocate %luKB (%luB per) mem for %lu-entry cache"
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
14 | #define KERN_INFO KERN_SOH "6" / informational /
| ^~~~~~~~
./include/linux/printk.h:327:17: note: in expansion of macro ‘KERN_INFO’
327 | pr_printk_hash(KERN_INFO, fmt, ##VA_ARGS)
| ^~~~~~~~~
./include/linux/device-mapper.h:540:26: note: in expansion of macro ‘pr_info’
540 | #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~~
/root/flashcache/src/flashcache_conf.c:450:2: note: in expansion of macro ‘DMINFO’
450 | DMINFO("Allocate %luKB (%luB per) mem for %lu-entry cache"
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:451:22: note: format string is defined here
451 | "(capacity:%luMB, associativity:%u, block size:%u "
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:510:6: note: in expansion of macro ‘DMERR’
510 | DMERR("flashcache_writeback_create: Could not write cache metadata block %lu error %d !",
| ^~~~~
/root/flashcache/src/flashcache_conf.c:510:81: note: format string is defined here
510 | DMERR("flashcache_writeback_create: Could not write cache metadata block %lu error %d !",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:534:4: note: in expansion of macro ‘DMERR’
534 | DMERR("flashcache_writeback_create: Could not write cache metadata block %lu error %d !",
| ^~~~~
/root/flashcache/src/flashcache_conf.c:534:79: note: format string is defined here
534 | DMERR("flashcache_writeback_create: Could not write cache metadata block %lu error %d !",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:572:3: note: in expansion of macro ‘DMERR’
572 | DMERR("flashcache_writeback_create: Could not write cache superblock %lu error %d !",
| ^~~~~
/root/flashcache/src/flashcache_conf.c:572:74: note: format string is defined here
572 | DMERR("flashcache_writeback_create: Could not write cache superblock %lu error %d !",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
/root/flashcache/src/flashcache_conf.c: In function ‘flashcache_writeback_load’:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:614:3: note: in expansion of macro ‘DMERR’
614 | DMERR("flashcache_writeback_load: Could not read cache superblock %lu error %d!",
| ^~~~~
/root/flashcache/src/flashcache_conf.c:614:71: note: format string is defined here
614 | DMERR("flashcache_writeback_load: Could not read cache superblock %lu error %d!",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
14 | #define KERN_INFO KERN_SOH "6" / informational /
| ^~~~~~~~
./include/linux/printk.h:327:17: note: in expansion of macro ‘KERN_INFO’
327 | pr_printk_hash(KERN_INFO, fmt, ##VA_ARGS)
| ^~~~~~~~~
./include/linux/device-mapper.h:540:26: note: in expansion of macro ‘pr_info’
540 | #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~~
/root/flashcache/src/flashcache_conf.c:678:2: note: in expansion of macro ‘DMINFO’
678 | DMINFO("Allocate %luKB (%ldB per) mem for %lu-entry cache"
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:678:21: note: format string is defined here
678 | DMINFO("Allocate %luKB (%ldB per) mem for %lu-entry cache"
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
14 | #define KERN_INFO KERN_SOH "6" / informational /
| ^~~~~~~~
./include/linux/printk.h:327:17: note: in expansion of macro ‘KERN_INFO’
327 | pr_printk_hash(KERN_INFO, fmt, ##VA_ARGS)
| ^~~~~~~~~
./include/linux/device-mapper.h:540:26: note: in expansion of macro ‘pr_info’
540 | #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~~
/root/flashcache/src/flashcache_conf.c:678:2: note: in expansion of macro ‘DMINFO’
678 | DMINFO("Allocate %luKB (%ldB per) mem for %lu-entry cache"
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:678:46: note: format string is defined here
678 | DMINFO("Allocate %luKB (%ldB per) mem for %lu-entry cache"
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
14 | #define KERN_INFO KERN_SOH "6" / informational /
| ^~~~~~~~
./include/linux/printk.h:327:17: note: in expansion of macro ‘KERN_INFO’
327 | pr_printk_hash(KERN_INFO, fmt, ##VA_ARGS)
| ^~~~~~~~~
./include/linux/device-mapper.h:540:26: note: in expansion of macro ‘pr_info’
540 | #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~~
/root/flashcache/src/flashcache_conf.c:678:2: note: in expansion of macro ‘DMINFO’
678 | DMINFO("Allocate %luKB (%ldB per) mem for %lu-entry cache"
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:679:22: note: format string is defined here
679 | "(capacity:%luMB, associativity:%u, block size:%u "
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:715:4: note: in expansion of macro ‘DMERR’
715 | DMERR("flashcache_writeback_load: Could not read cache metadata block %lu error %d !",
| ^~~~~
/root/flashcache/src/flashcache_conf.c:715:76: note: format string is defined here
715 | DMERR("flashcache_writeback_load: Could not read cache metadata block %lu error %d !",
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions */
| ^~~~~~~~
./include/linux/printk.h:320:17: note: in expansion of macro ‘KERN_ERR’
320 | pr_printk_hash(KERN_ERR, fmt, ##VA_ARGS)
| ^~~~~~~~
./include/linux/device-mapper.h:536:25: note: in expansion of macro ‘pr_err’
536 | #define DMERR(fmt, ...) pr_err(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:813:3: note: in expansion of macro ‘DMERR’
813 | DMERR("flashcache_writeback_load: Could not write cache superblock %lu error %d !",
| ^~~~~
/root/flashcache/src/flashcache_conf.c:813:72: note: format string is defined here
813 | DMERR("flashcache_writeback_load: Could not write cache superblock %lu error %d !",
| ~~^
| |
| long unsigned int
| %llu
/root/flashcache/src/flashcache_conf.c: In function ‘flashcache_ctr’:
/root/flashcache/src/flashcache_conf.c:988:26: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 3 has type ‘sector_t ’ {aka ‘long long unsigned int ’} [-Wformat=]
988 | if (sscanf(argv[6], "%lu", &dmc->size) != 1) {
| ~~^ ~~~~~~~~~~
| | |
| | sector_t * {aka long long unsigned int }
| long unsigned int *
| %llu
In file included from ./include/linux/printk.h:7,
from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/kern_levels.h:11:18: note: in expansion of macro ‘KERN_SOH’
11 | #define KERN_ERR KERN_SOH "3" / error conditions /
| ^~~~~~~~
/root/flashcache/src/flashcache_conf.c:1030:11: note: in expansion of macro ‘KERN_ERR’
1030 | printk(KERN_ERR "Invalid Disk Assoc assoc %d disk_assoc %d size %ld\n",
| ^~~~~~~~
/root/flashcache/src/flashcache_conf.c:1030:70: note: format string is defined here
1030 | printk(KERN_ERR "Invalid Disk Assoc assoc %d disk_assoc %d size %ld\n",
| ~~^
| |
| long int
| %lld
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
/root/flashcache/src/flashcache_conf.c: In function ‘flashcache_dtr_stats_print’:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
14 | #define KERN_INFO KERN_SOH "6" / informational /
| ^~~~~~~~
./include/linux/printk.h:327:17: note: in expansion of macro ‘KERN_INFO’
327 | pr_printk_hash(KERN_INFO, fmt, ##VA_ARGS)
| ^~~~~~~~~
./include/linux/device-mapper.h:540:26: note: in expansion of macro ‘pr_info’
540 | #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~~
/root/flashcache/src/flashcache_conf.c:1391:2: note: in expansion of macro ‘DMINFO’
1391 | DMINFO("conf:\n"
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:1393:23: note: format string is defined here
1393 | "\tcapacity(%luM), associativity(%u), data block size(%uK) metadata block size(%ub)\n"
| ~~^
| |
| long unsigned int
| %llu
In file included from ./include/linux/kernel.h:15,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from /root/flashcache/src/flashcache_conf.c:26:
./include/linux/kern_levels.h:5:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 11 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
5 | #define KERN_SOH "\001" / ASCII Start Of Header /
| ^~~~~~
./include/linux/printk.h:303:9: note: in definition of macro ‘pr_printk_hash’
303 | printk(level pr_fmt(format), ##VA_ARGS)
| ^~~~~
./include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
14 | #define KERN_INFO KERN_SOH "6" / informational /
| ^~~~~~~~
./include/linux/printk.h:327:17: note: in expansion of macro ‘KERN_INFO’
327 | pr_printk_hash(KERN_INFO, fmt, ##VA_ARGS)
| ^~~~~~~~~
./include/linux/device-mapper.h:540:26: note: in expansion of macro ‘pr_info’
540 | #define DMINFO(fmt, ...) pr_info(DM_FMT(fmt), ##VA_ARGS)
| ^~~~~~~
/root/flashcache/src/flashcache_conf.c:1391:2: note: in expansion of macro ‘DMINFO’
1391 | DMINFO("conf:\n"
| ^~~~~~
/root/flashcache/src/flashcache_conf.c:1395:27: note: format string is defined here
1395 | "\ttotal blocks(%lu), cached blocks(%d), cache percent(%d)\n"
| ~~^
| |
| long unsigned int
| %llu
In file included from /root/flashcache/src/flashcache_conf.c:55:
/root/flashcache/src/flashcache_conf.c: In function ‘flashcache_status_table’:
/root/flashcache/src/flashcache_conf.c:1619:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
1619 | DMEMIT("\tcapacity(%luM), associativity(%u), data block size(%uK) metadata block size(%ub)\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1620 | dmc->sizedmc->block_size>>11, dmc->assoc,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| sector_t {aka long long unsigned int}
./include/linux/device-mapper.h:552:46: note: in definition of macro ‘DMEMIT’
552 | 0 : scnprintf(result + sz, maxlen - sz, x))
| ^
/root/flashcache/src/flashcache_conf.c:1619:24: note: format string is defined here
1619 | DMEMIT("\tcapacity(%luM), associativity(%u), data block size(%uK) metadata block size(%ub)\n",
| ~~^
| |
| long unsigned int
| %llu
In file included from /root/flashcache/src/flashcache_conf.c:55:
/root/flashcache/src/flashcache_conf.c:1624:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
1624 | DMEMIT("\tcapacity(%luM), associativity(%u), data block size(%uK)\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1625 | dmc->sizedmc->block_size>>11, dmc->assoc,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| sector_t {aka long long unsigned int}
./include/linux/device-mapper.h:552:46: note: in definition of macro ‘DMEMIT’
552 | 0 : scnprintf(result + sz, maxlen - sz, x))
| ^
/root/flashcache/src/flashcache_conf.c:1624:24: note: format string is defined here
1624 | DMEMIT("\tcapacity(%luM), associativity(%u), data block size(%uK)\n",
| ~~^
| |
| long unsigned int
| %llu
In file included from /root/flashcache/src/flashcache_conf.c:55:
/root/flashcache/src/flashcache_conf.c:1632:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘sector_t’ {aka ‘long long unsigned int’} [-Wformat=]
1632 | DMEMIT("\ttotal blocks(%lu), cached blocks(%d), cache percent(%d)\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1633 | dmc->size, atomic_read(&dmc->cached_blocks),
| ~~~~~~~~~
| |
| sector_t {aka long long unsigned int}
./include/linux/device-mapper.h:552:46: note: in definition of macro ‘DMEMIT’
552 | 0 : scnprintf(result + sz, maxlen - sz, x))
| ^
/root/flashcache/src/flashcache_conf.c:1632:27: note: format string is defined here
1632 | DMEMIT("\ttotal blocks(%lu), cached blocks(%d), cache percent(%d)\n",
| ~~^
| |
| long unsigned int
| %llu
/root/flashcache/src/flashcache_conf.c: At top level:
/root/flashcache/src/flashcache_conf.c:1719:20: error: initialization of ‘int ()(struct dm_target , struct block_device **)’ from incompatible pointer type ‘int ()(struct dm_target *, struct block_device **, fmode_t )’ {aka ‘int ()(struct dm_target *, struct block_device **, unsigned int )’} [-Werror=incompatible-pointer-types]
1719 | .prepare_ioctl = flashcache_prepare_ioctl,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/root/flashcache/src/flashcache_conf.c:1719:20: note: (near initialization for ‘flashcache_target.prepare_ioctl’)
/root/flashcache/src/flashcache_conf.c:1720:20: error: initialization of ‘int ()(struct dm_target *, unsigned int, char **, char , unsigned int)’ from incompatible pointer type ‘int ()(struct dm_target *, unsigned int, char **)’ [-Werror=incompatible-pointer-types]
1720 | .message = flashcache_message,
| ^~~~~~~~~~~~~~~~~~
/root/flashcache/src/flashcache_conf.c:1720:20: note: (near initialization for ‘flashcache_target.message’)
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:275: /root/flashcache/src/flashcache_conf.o] Error 1
make[2]: *** [Makefile:1719: /root/flashcache/src] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-37-generic'
make[1]: *** [Makefile:42: modules] Error 2
make[1]: Leaving directory '/root/flashcache/src'
make: *** [Makefile:28: all] Error 2