linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [akpm-mm:mm-new 41/43] mm/zblock.h:24:2: warning: #warning This PAGE_SIZE is not quite supported yet
@ 2025-06-04 13:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-06-04 13:16 UTC (permalink / raw)
  To: Andrew Morton; +Cc: oe-kbuild-all, Linux Memory Management List, Igor Belousov

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
head:   80bb0b2983e95be26d929303d589276875c8900a
commit: bffdb7003af983450573b7d818160cf1dc1f0fef [41/43] mm-zblock-avoid-failing-the-build-fix
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20250604/202506042117.iH6LE0pc-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250604/202506042117.iH6LE0pc-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/202506042117.iH6LE0pc-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from mm/zblock.c:28:
>> mm/zblock.h:24:2: warning: #warning This PAGE_SIZE is not quite supported yet [-Wcpp]
      24 | #warning This PAGE_SIZE is not quite supported yet
         |  ^~~~~~~


vim +24 mm/zblock.h

    16	
    17	#if PAGE_SIZE == 0x1000
    18	/* max 128 slots per block, max table size 32 */
    19	#define SLOT_BITS 7
    20	#elif PAGE_SIZE == 0x4000
    21	/* max 256 slots per block, max table size 64 */
    22	#define SLOT_BITS 8
    23	#else
  > 24	#warning This PAGE_SIZE is not quite supported yet
    25	#define SLOT_BITS 8
    26	#endif
    27	

-- 
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:[~2025-06-04 13:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-04 13:16 [akpm-mm:mm-new 41/43] mm/zblock.h:24:2: warning: #warning This PAGE_SIZE is not quite supported yet 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).