From: kernel test robot <lkp@intel.com>
To: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [linux-next:master 10115/10848] arch/microblaze/include/asm/cacheflush.h:77:13: warning: 'flush_dcache_folio' defined but not used
Date: Tue, 22 Aug 2023 05:07:12 +0800 [thread overview]
Message-ID: <202308220517.9ZeSFZc3-lkp@intel.com> (raw)
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
reply other threads:[~2023-08-21 21:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202308220517.9ZeSFZc3-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).