* [bcachefs:master 221/222] fs/bcachefs/sysfs.c:1001: error: unterminated argument list invoking macro "prt_printf"
@ 2025-03-28 22:43 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-28 22:43 UTC (permalink / raw)
To: Kent Overstreet; +Cc: oe-kbuild-all, Kent Overstreet
tree: https://evilpiepirate.org/git/bcachefs.git master
head: 3720faca3701df3bb8f5cd2a12061664d01ce817
commit: cd655e59f1431415e0170664506952e595bddcde [221/222] bcachefs: read_fua_test
config: riscv-randconfig-001-20250329 (https://download.01.org/0day-ci/archive/20250329/202503290609.5mK6AkIO-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250329/202503290609.5mK6AkIO-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/202503290609.5mK6AkIO-lkp@intel.com/
All errors (new ones prefixed by >>):
fs/bcachefs/sysfs.c: In function 'bch2_read_fua_test':
>> fs/bcachefs/sysfs.c:1001: error: unterminated argument list invoking macro "prt_printf"
1001 | #endif /* _BCACHEFS_SYSFS_H_ */
fs/bcachefs/sysfs.c:400:9: error: 'prt_printf' undeclared (first use in this function); did you mean 'bstr_printf'?
400 | prt_printf(out, "fua support advertized: %s\n", str_yes_no(bdev_fua(bdev));
| ^~~~~~~~~~
| bstr_printf
fs/bcachefs/sysfs.c:400:9: note: each undeclared identifier is reported only once for each function it appears in
fs/bcachefs/sysfs.c:400:19: error: expected ';' at end of input
400 | prt_printf(out, "fua support advertized: %s\n", str_yes_no(bdev_fua(bdev));
| ^
| ;
......
fs/bcachefs/sysfs.c:400:9: error: expected declaration or statement at end of input
400 | prt_printf(out, "fua support advertized: %s\n", str_yes_no(bdev_fua(bdev));
| ^~~~~~~~~~
fs/bcachefs/sysfs.c:393:13: warning: unused variable 'stddev_rand' [-Wunused-variable]
393 | u64 stddev_rand = mean_and_variance_get_stddev(stats_random.duration_stats);
| ^~~~~~~~~~~
fs/bcachefs/sysfs.c:392:13: warning: unused variable 'stddev_fua' [-Wunused-variable]
392 | u64 stddev_fua = mean_and_variance_get_stddev(stats_fua.duration_stats);
| ^~~~~~~~~~
fs/bcachefs/sysfs.c:391:13: warning: unused variable 'stddev_nofua' [-Wunused-variable]
391 | u64 stddev_nofua = mean_and_variance_get_stddev(stats_nofua.duration_stats);
| ^~~~~~~~~~~~
fs/bcachefs/sysfs.c:389:13: warning: unused variable 'ns_rand' [-Wunused-variable]
389 | u64 ns_rand = mean_and_variance_get_mean(stats_random.duration_stats);
| ^~~~~~~
fs/bcachefs/sysfs.c:388:13: warning: unused variable 'ns_fua' [-Wunused-variable]
388 | u64 ns_fua = mean_and_variance_get_mean(stats_fua.duration_stats);
| ^~~~~~
fs/bcachefs/sysfs.c:387:13: warning: unused variable 'ns_nofua' [-Wunused-variable]
387 | u64 ns_nofua = mean_and_variance_get_mean(stats_nofua.duration_stats);
| ^~~~~~~~
fs/bcachefs/sysfs.c:384:25: error: label 'err' used but not defined
384 | goto err;
| ^~~~
fs/bcachefs/sysfs.c: At top level:
fs/bcachefs/sysfs.c:314:12: warning: 'bch2_read_fua_test' defined but not used [-Wunused-function]
314 | static int bch2_read_fua_test(struct printbuf *out, struct bch_dev *ca)
| ^~~~~~~~~~~~~~~~~~
fs/bcachefs/sysfs.c:300:13: warning: 'bch2_fs_usage_base_to_text' defined but not used [-Wunused-function]
300 | static void bch2_fs_usage_base_to_text(struct printbuf *out, struct bch_fs *c)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
fs/bcachefs/sysfs.c:292:13: warning: 'bch2_gc_gens_pos_to_text' defined but not used [-Wunused-function]
292 | static void bch2_gc_gens_pos_to_text(struct printbuf *out, struct bch_fs *c)
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/bcachefs/sysfs.c:251:12: warning: 'bch2_compression_stats_to_text' defined but not used [-Wunused-function]
251 | static int bch2_compression_stats_to_text(struct printbuf *out, struct bch_fs *c)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/bcachefs/sysfs.c:234:15: warning: 'bch2_btree_cache_size' defined but not used [-Wunused-function]
234 | static size_t bch2_btree_cache_size(struct bch_fs *c)
| ^~~~~~~~~~~~~~~~~~~~~
fs/bcachefs/sysfs.c:229:33: warning: 'sysfs_time_stat_nocow_lock_contended' defined but not used [-Wunused-variable]
229 | static struct attribute sysfs_time_stat_##_name = \
| ^~~~~~~~~~~~~~~~
fs/bcachefs/bcachefs.h:466:9: note: in expansion of macro 'x'
466 | x(nocow_lock_contended)
| ^
fs/bcachefs/sysfs.c:231:9: note: in expansion of macro 'BCH_TIME_STATS'
231 | BCH_TIME_STATS()
| ^~~~~~~~~~~~~~
fs/bcachefs/sysfs.c:229:33: warning: 'sysfs_time_stat_blocked_write_buffer_full' defined but not used [-Wunused-variable]
229 | static struct attribute sysfs_time_stat_##_name = \
| ^~~~~~~~~~~~~~~~
fs/bcachefs/bcachefs.h:465:9: note: in expansion of macro 'x'
465 | x(blocked_write_buffer_full) \
| ^
fs/bcachefs/sysfs.c:231:9: note: in expansion of macro 'BCH_TIME_STATS'
231 | BCH_TIME_STATS()
| ^~~~~~~~~~~~~~
fs/bcachefs/sysfs.c:229:33: warning: 'sysfs_time_stat_blocked_allocate_open_bucket' defined but not used [-Wunused-variable]
229 | static struct attribute sysfs_time_stat_##_name = \
| ^~~~~~~~~~~~~~~~
fs/bcachefs/bcachefs.h:464:9: note: in expansion of macro 'x'
464 | x(blocked_allocate_open_bucket) \
| ^
fs/bcachefs/sysfs.c:231:9: note: in expansion of macro 'BCH_TIME_STATS'
231 | BCH_TIME_STATS()
| ^~~~~~~~~~~~~~
fs/bcachefs/sysfs.c:229:33: warning: 'sysfs_time_stat_blocked_allocate' defined but not used [-Wunused-variable]
229 | static struct attribute sysfs_time_stat_##_name = \
| ^~~~~~~~~~~~~~~~
fs/bcachefs/bcachefs.h:463:9: note: in expansion of macro 'x'
463 | x(blocked_allocate) \
| ^
fs/bcachefs/sysfs.c:231:9: note: in expansion of macro 'BCH_TIME_STATS'
231 | BCH_TIME_STATS()
| ^~~~~~~~~~~~~~
fs/bcachefs/sysfs.c:229:33: warning: 'sysfs_time_stat_blocked_key_cache_flush' defined but not used [-Wunused-variable]
229 | static struct attribute sysfs_time_stat_##_name = \
| ^~~~~~~~~~~~~~~~
fs/bcachefs/bcachefs.h:462:9: note: in expansion of macro 'x'
462 | x(blocked_key_cache_flush) \
| ^
fs/bcachefs/sysfs.c:231:9: note: in expansion of macro 'BCH_TIME_STATS'
231 | BCH_TIME_STATS()
| ^~~~~~~~~~~~~~
fs/bcachefs/sysfs.c:229:33: warning: 'sysfs_time_stat_blocked_journal_max_open' defined but not used [-Wunused-variable]
229 | static struct attribute sysfs_time_stat_##_name = \
| ^~~~~~~~~~~~~~~~
fs/bcachefs/bcachefs.h:461:9: note: in expansion of macro 'x'
vim +/prt_printf +1001 fs/bcachefs/sysfs.c
1c6fdbd8f2465d Kent Overstreet 2017-03-16 1000
1c6fdbd8f2465d Kent Overstreet 2017-03-16 @1001 #endif /* _BCACHEFS_SYSFS_H_ */
:::::: The code at line 1001 was first introduced by commit
:::::: 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a bcachefs: Initial commit
:::::: TO: Kent Overstreet <kent.overstreet@gmail.com>
:::::: CC: Kent Overstreet <kent.overstreet@linux.dev>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-03-28 22:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-28 22:43 [bcachefs:master 221/222] fs/bcachefs/sysfs.c:1001: error: unterminated argument list invoking macro "prt_printf" kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.