Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [brauner-vfs:vfs-7.2.procfs 1/12] fs/proc/generic.c:849:6: warning: no previous prototype for function 'impl_proc_make_permanent'
@ 2026-05-01 23:31 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-01 23:31 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: llvm, oe-kbuild-all, Christian Brauner, Christian Brauner

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs-7.2.procfs
head:   16b3565414446449677ec503a8a25d802c7512a7
commit: b26811a2ab5878e84275d8ad8e709bba9147c62c [1/12] proc: allow to mark /proc files permanent outside of fs/proc/
config: hexagon-allnoconfig (https://download.01.org/0day-ci/archive/20260502/202605020725.KvLbjBLv-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260502/202605020725.KvLbjBLv-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/202605020725.KvLbjBLv-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> fs/proc/generic.c:849:6: warning: no previous prototype for function 'impl_proc_make_permanent' [-Wmissing-prototypes]
     849 | void impl_proc_make_permanent(struct proc_dir_entry *pde)
         |      ^
   fs/proc/generic.c:849:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     849 | void impl_proc_make_permanent(struct proc_dir_entry *pde)
         | ^
         | static 
   1 warning generated.


vim +/impl_proc_make_permanent +849 fs/proc/generic.c

   844	
   845	/*
   846	 * Not exported to modules:
   847	 * modules' /proc files aren't permanent because modules aren't permanent.
   848	 */
 > 849	void impl_proc_make_permanent(struct proc_dir_entry *pde)

-- 
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:[~2026-05-01 23:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-01 23:31 [brauner-vfs:vfs-7.2.procfs 1/12] fs/proc/generic.c:849:6: warning: no previous prototype for function 'impl_proc_make_permanent' 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