* [linux-next:master 3379/3551] fs/bcachefs/buckets.c:316:21: warning: no previous prototype for function 'bucket_m_to_alloc'
@ 2023-11-27 10:21 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-27 10:21 UTC (permalink / raw)
To: Kent Overstreet; +Cc: llvm, oe-kbuild-all, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 48bbaf8b793e0770798519f8ee1ea2908ff0943a
commit: 8192d6956cb6798c4cb28d35712373c9af7897bf [3379/3551] bcachefs: New bucket sector count helpers
config: i386-randconfig-012-20231127 (https://download.01.org/0day-ci/archive/20231127/202311271744.5EUZIZTD-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231127/202311271744.5EUZIZTD-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/202311271744.5EUZIZTD-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> fs/bcachefs/buckets.c:316:21: warning: no previous prototype for function 'bucket_m_to_alloc' [-Wmissing-prototypes]
struct bch_alloc_v4 bucket_m_to_alloc(struct bucket b)
^
fs/bcachefs/buckets.c:316:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
struct bch_alloc_v4 bucket_m_to_alloc(struct bucket b)
^
static
1 warning generated.
vim +/bucket_m_to_alloc +316 fs/bcachefs/buckets.c
315
> 316 struct bch_alloc_v4 bucket_m_to_alloc(struct bucket b)
317 {
318 return (struct bch_alloc_v4) {
319 .gen = b.gen,
320 .data_type = b.data_type,
321 .dirty_sectors = b.dirty_sectors,
322 .cached_sectors = b.cached_sectors,
323 .stripe = b.stripe,
324 };
325 }
326
--
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:[~2023-11-27 10:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27 10:21 [linux-next:master 3379/3551] fs/bcachefs/buckets.c:316:21: warning: no previous prototype for function 'bucket_m_to_alloc' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox