All of lore.kernel.org
 help / color / mirror / Atom feed
* [feng:master 7/12] mm/page_alloc.c:5644 dump_node_zonelists() error: format specifier '%]' invalid
@ 2019-11-18  5:54 ` Dan Carpenter
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2019-11-18  5:54 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 3224 bytes --]

tree:   feng/master
head:   2c92de2e1f348ec7ea1884503b8b873276f37ed3
commit: 16d2d0ab190b72af553cb361ccdd9a6a7b20cc0d [7/12] zonelist: add dump

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
mm/page_alloc.c:5644 dump_node_zonelists() error: format specifier '%]' invalid

git remote add feng git://bee.sh.intel.com/git/feng/linux.git
git remote update feng
git checkout 16d2d0ab190b72af553cb361ccdd9a6a7b20cc0d
vim +5644 mm/page_alloc.c

523b945855a142 Christoph Lameter 2007-10-16  5620  
f0c0b2b808f232 KAMEZAWA Hiroyuki 2007-07-15  5621  /*
f0c0b2b808f232 KAMEZAWA Hiroyuki 2007-07-15  5622   * Build zonelists ordered by zone and nodes within zones.
f0c0b2b808f232 KAMEZAWA Hiroyuki 2007-07-15  5623   * This results in conserving DMA zone[s] until all Normal memory is
f0c0b2b808f232 KAMEZAWA Hiroyuki 2007-07-15  5624   * exhausted, but results in overflowing to remote node while memory
f0c0b2b808f232 KAMEZAWA Hiroyuki 2007-07-15  5625   * may still exist in local DMA zone.
f0c0b2b808f232 KAMEZAWA Hiroyuki 2007-07-15  5626   */
f0c0b2b808f232 KAMEZAWA Hiroyuki 2007-07-15  5627  
16d2d0ab190b72 Feng Tang         2019-11-17  5628  static dump_node_zonelists(pg_data_t *pgdat)
16d2d0ab190b72 Feng Tang         2019-11-17  5629  {
16d2d0ab190b72 Feng Tang         2019-11-17  5630  	struct zonelist *fallback;
16d2d0ab190b72 Feng Tang         2019-11-17  5631  	struct zoneref *zrefs;
16d2d0ab190b72 Feng Tang         2019-11-17  5632  	int i;
16d2d0ab190b72 Feng Tang         2019-11-17  5633  
16d2d0ab190b72 Feng Tang         2019-11-17  5634  	fallback = pgdat->node_zonelists;
16d2d0ab190b72 Feng Tang         2019-11-17  5635  	zrefs = fallback->_zonerefs;
16d2d0ab190b72 Feng Tang         2019-11-17  5636  
16d2d0ab190b72 Feng Tang         2019-11-17  5637  	mp("zone_lists for node[%d]:", pgdat->node_id);
16d2d0ab190b72 Feng Tang         2019-11-17  5638  
16d2d0ab190b72 Feng Tang         2019-11-17  5639  	for (i = 0; i < MAX_ZONES_PER_ZONELIST + 1; i++) {
16d2d0ab190b72 Feng Tang         2019-11-17  5640  	
16d2d0ab190b72 Feng Tang         2019-11-17  5641  		printk("[%d]: nid[%].zone[%d]\n",
                                                                                  ^^
Missing character.

16d2d0ab190b72 Feng Tang         2019-11-17  5642  			i,
16d2d0ab190b72 Feng Tang         2019-11-17  5643  			zrefs->zone->node,
16d2d0ab190b72 Feng Tang         2019-11-17 @5644  			zrefs->zone_idx
16d2d0ab190b72 Feng Tang         2019-11-17  5645  			);
16d2d0ab190b72 Feng Tang         2019-11-17  5646  
16d2d0ab190b72 Feng Tang         2019-11-17  5647  		zrefs++;
16d2d0ab190b72 Feng Tang         2019-11-17  5648  		if (!zrefs->zone)
16d2d0ab190b72 Feng Tang         2019-11-17  5649  			break;
16d2d0ab190b72 Feng Tang         2019-11-17  5650  	}
16d2d0ab190b72 Feng Tang         2019-11-17  5651  }
16d2d0ab190b72 Feng Tang         2019-11-17  5652  

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

end of thread, other threads:[~2019-11-18  5:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-18  5:54 [feng:master 7/12] mm/page_alloc.c:5644 dump_node_zonelists() error: format specifier '%]' invalid Dan Carpenter
2019-11-18  5:54 ` Dan Carpenter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.