linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* arch/powerpc/mm/nohash/tlb_64e.c:36:5: sparse: sparse: symbol 'mmu_pte_psize' was not declared. Should it be static?
@ 2024-08-01  5:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-08-01  5:06 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: oe-kbuild-all, linux-kernel, Andrew Morton,
	Linux Memory Management List, Christophe Leroy

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   21b136cc63d2a9ddd60d4699552b69c214b32964
commit: a898530eea3d0ba08c17a60865995a3bb468d1bc powerpc/64e: split out nohash Book3E 64-bit code
date:   3 weeks ago
config: powerpc64-randconfig-r122-20240801 (https://download.01.org/0day-ci/archive/20240801/202408011256.1O99IB0s-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20240801/202408011256.1O99IB0s-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/202408011256.1O99IB0s-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> arch/powerpc/mm/nohash/tlb_64e.c:36:5: sparse: sparse: symbol 'mmu_pte_psize' was not declared. Should it be static?
   arch/powerpc/mm/nohash/tlb_64e.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/mm.h):
   include/linux/page-flags.h:235:46: sparse: sparse: self-comparison always evaluates to false
   include/linux/page-flags.h:235:46: sparse: sparse: self-comparison always evaluates to false

vim +/mmu_pte_psize +36 arch/powerpc/mm/nohash/tlb_64e.c

    31	
    32	/* The variables below are currently only used on 64-bit Book3E
    33	 * though this will probably be made common with other nohash
    34	 * implementations at some point
    35	 */
  > 36	int mmu_pte_psize;		/* Page size used for PTE pages */
    37	int mmu_vmemmap_psize;		/* Page size used for the virtual mem map */
    38	int book3e_htw_mode;		/* HW tablewalk?  Value is PPC_HTW_* */
    39	unsigned long linear_map_top;	/* Top of linear mapping */
    40	
    41	

-- 
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:[~2024-08-01  5:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-01  5:06 arch/powerpc/mm/nohash/tlb_64e.c:36:5: sparse: sparse: symbol 'mmu_pte_psize' was not declared. Should it be static? 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;
as well as URLs for NNTP newsgroup(s).