linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 10448/11214] arch/microblaze/include/asm/cacheflush.h:77:13: warning: 'flush_dcache_folio' defined but not used
@ 2023-08-21 17:21 kernel test robot
  2023-08-21 18:17 ` Matthew Wilcox
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2023-08-21 17:21 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: 2fcc20defd8a07415f6b346d941c22c50bbdada5 [10448/11214] microblaze: implement the new page table range API
config: microblaze-allnoconfig (https://download.01.org/0day-ci/archive/20230822/202308220106.VDWkCsdG-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230822/202308220106.VDWkCsdG-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/202308220106.VDWkCsdG-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)
         |             ^~~~~~~~~~~~~~~~~~


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] 3+ messages in thread

* Re: [linux-next:master 10448/11214] arch/microblaze/include/asm/cacheflush.h:77:13: warning: 'flush_dcache_folio' defined but not used
  2023-08-21 17:21 [linux-next:master 10448/11214] arch/microblaze/include/asm/cacheflush.h:77:13: warning: 'flush_dcache_folio' defined but not used kernel test robot
@ 2023-08-21 18:17 ` Matthew Wilcox
  2023-08-22  1:55   ` Philip Li
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Wilcox @ 2023-08-21 18:17 UTC (permalink / raw)
  To: kernel test robot
  Cc: oe-kbuild-all, Linux Memory Management List, Andrew Morton

On Tue, Aug 22, 2023 at 01:21:43AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   47d9bb711707d15b19fad18c8e2b4b027a264a3a
> commit: 2fcc20defd8a07415f6b346d941c22c50bbdada5 [10448/11214] microblaze: implement the new page table range API
> config: microblaze-allnoconfig (https://download.01.org/0day-ci/archive/20230822/202308220106.VDWkCsdG-lkp@intel.com/config)
> compiler: microblaze-linux-gcc (GCC) 12.3.0
> reproduce: (https://download.01.org/0day-ci/archive/20230822/202308220106.VDWkCsdG-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/202308220106.VDWkCsdG-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)

The bug is real, but I'm a little concerned that I got an email from
the testbot a few weeks ago suggesting:

microblaze           randconfig-r002-20230731   gcc
microblaze           randconfig-r011-20230731   gcc
microblaze           randconfig-r014-20230731   gcc

all passed.  Perhaps you could do allnoconfig testing more frequently?
Those tests should be quick to run since they are allnoconfig ...


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-next:master 10448/11214] arch/microblaze/include/asm/cacheflush.h:77:13: warning: 'flush_dcache_folio' defined but not used
  2023-08-21 18:17 ` Matthew Wilcox
@ 2023-08-22  1:55   ` Philip Li
  0 siblings, 0 replies; 3+ messages in thread
From: Philip Li @ 2023-08-22  1:55 UTC (permalink / raw)
  To: Matthew Wilcox
  Cc: kernel test robot, oe-kbuild-all, Linux Memory Management List,
	Andrew Morton

On Mon, Aug 21, 2023 at 07:17:33PM +0100, Matthew Wilcox wrote:
> On Tue, Aug 22, 2023 at 01:21:43AM +0800, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > head:   47d9bb711707d15b19fad18c8e2b4b027a264a3a
> > commit: 2fcc20defd8a07415f6b346d941c22c50bbdada5 [10448/11214] microblaze: implement the new page table range API
> > config: microblaze-allnoconfig (https://download.01.org/0day-ci/archive/20230822/202308220106.VDWkCsdG-lkp@intel.com/config)
> > compiler: microblaze-linux-gcc (GCC) 12.3.0
> > reproduce: (https://download.01.org/0day-ci/archive/20230822/202308220106.VDWkCsdG-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/202308220106.VDWkCsdG-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)
> 
> The bug is real, but I'm a little concerned that I got an email from
> the testbot a few weeks ago suggesting:
> 
> microblaze           randconfig-r002-20230731   gcc
> microblaze           randconfig-r011-20230731   gcc
> microblaze           randconfig-r014-20230731   gcc
> 
> all passed.  Perhaps you could do allnoconfig testing more frequently?
> Those tests should be quick to run since they are allnoconfig ...

Got it, we will better balance the test resources to build test the
basic configs like allnoconfig in early time, and to include the results
in build summary mail.

Sorry for the "false safe" summary report for this commit.

> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-22  1:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-21 17:21 [linux-next:master 10448/11214] arch/microblaze/include/asm/cacheflush.h:77:13: warning: 'flush_dcache_folio' defined but not used kernel test robot
2023-08-21 18:17 ` Matthew Wilcox
2023-08-22  1:55   ` Philip Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox