linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 10115/10848] arch/microblaze/include/asm/cacheflush.h:77:13: warning: 'flush_dcache_folio' defined but not used
@ 2023-08-21 21:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-21 21:07 UTC (permalink / raw)
  To: Matthew Wilcox (Oracle)
  Cc: oe-kbuild-all, Linux Memory Management List, Andrew Morton

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   47d9bb711707d15b19fad18c8e2b4b027a264a3a
commit: de462526918b9c8d840cae797e9a8ff425c55c83 [10115/10848] microblaze: implement the new page table range API
config: microblaze-randconfig-r032-20230821 (https://download.01.org/0day-ci/archive/20230822/202308220517.9ZeSFZc3-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230822/202308220517.9ZeSFZc3-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/202308220517.9ZeSFZc3-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from kernel/signal.c:57:
>> arch/microblaze/include/asm/cacheflush.h:77:13: warning: 'flush_dcache_folio' defined but not used [-Wunused-function]
      77 | static void flush_dcache_folio(struct folio *folio)
         |             ^~~~~~~~~~~~~~~~~~
--
   arch/microblaze/kernel/ftrace.c:22:6: warning: no previous prototype for 'prepare_ftrace_return' [-Wmissing-prototypes]
      22 | void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr)
         |      ^~~~~~~~~~~~~~~~~~~~~
   In file included from arch/microblaze/kernel/ftrace.c:14:
>> arch/microblaze/include/asm/cacheflush.h:77:13: warning: 'flush_dcache_folio' defined but not used [-Wunused-function]
      77 | static void flush_dcache_folio(struct folio *folio)
         |             ^~~~~~~~~~~~~~~~~~


vim +/flush_dcache_folio +77 arch/microblaze/include/asm/cacheflush.h

    76	
  > 77	static void flush_dcache_folio(struct folio *folio)
    78	{
    79		unsigned long addr = folio_pfn(folio) << PAGE_SHIFT;
    80	
    81		flush_dcache_range(addr, addr + folio_size(folio));
    82	}
    83	#define flush_dcache_folio flush_dcache_folio
    84	

-- 
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-08-21 21:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-21 21:07 [linux-next:master 10115/10848] arch/microblaze/include/asm/cacheflush.h:77:13: warning: 'flush_dcache_folio' defined but not used 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