[hp-parisc:pdt_devel 5/5] arch/parisc/kernel/inventory.c:283:1: warning: the frame size of 4104 bytes is larger than 2048 bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git pdt_devel
head:   9d2a99a3e6a35e064c82e639dbbe65f1a4fc9b09
commit: 9d2a99a3e6a35e064c82e639dbbe65f1a4fc9b09 [5/5] parisc: Add page deallocation support
config: parisc-generic-64bit_defconfig (attached as .config)
compiler: hppa64-linux-gnu-gcc (GCC) 6.2.0 20160901
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 9d2a99a3e6a35e064c82e639dbbe65f1a4fc9b09
        # save the attached .config to linux build tree
        make.cross ARCH=parisc 

All warnings (new ones prefixed by >>):

   arch/parisc/kernel/inventory.c: In function 'pat_query_module':
>> arch/parisc/kernel/inventory.c:283:1: warning: the frame size of 4104 bytes is larger than 2048 bytes [-Wframe-larger-than=]
    }
    ^

vim +283 arch/parisc/kernel/inventory.c

0d56d1aa Kyle McMartin  2009-06-23  267  				pa_pdc_cell->mod[3 + i * 3],	/* start */
0d56d1aa Kyle McMartin  2009-06-23  268  				pa_pdc_cell->mod[4 + i * 3]);	/* finish (ie end) */
^1da177e Linus Torvalds 2005-04-16  269  			printk(KERN_DEBUG 
^1da177e Linus Torvalds 2005-04-16  270  				"  IO_VIEW %ld: 0x%016lx 0x%016lx 0x%016lx\n", 
fa465a6a Helge Deller   2016-11-17  271  				i, io_pdc_cell.mod[2 + i * 3],	/* type */
fa465a6a Helge Deller   2016-11-17  272  				io_pdc_cell.mod[3 + i * 3],	/* start */
fa465a6a Helge Deller   2016-11-17  273  				io_pdc_cell.mod[4 + i * 3]);	/* finish (ie end) */
^1da177e Linus Torvalds 2005-04-16  274  		}
^1da177e Linus Torvalds 2005-04-16  275  		printk(KERN_DEBUG "\n");
^1da177e Linus Torvalds 2005-04-16  276  		break;
^1da177e Linus Torvalds 2005-04-16  277  	}
^1da177e Linus Torvalds 2005-04-16  278  #endif /* DEBUG_PAT */
0d56d1aa Kyle McMartin  2009-06-23  279  
0d56d1aa Kyle McMartin  2009-06-23  280  	kfree(pa_pdc_cell);
0d56d1aa Kyle McMartin  2009-06-23  281  
^1da177e Linus Torvalds 2005-04-16  282  	return PDC_OK;
^1da177e Linus Torvalds 2005-04-16 @283  }
^1da177e Linus Torvalds 2005-04-16  284  
^1da177e Linus Torvalds 2005-04-16  285  
^1da177e Linus Torvalds 2005-04-16  286  /* pat pdc can return information about a variety of different
^1da177e Linus Torvalds 2005-04-16  287   * types of memory (e.g. firmware,i/o, etc) but we only care about
^1da177e Linus Torvalds 2005-04-16  288   * the usable physical ram right now. Since the firmware specific
^1da177e Linus Torvalds 2005-04-16  289   * information is allocated on the stack, we'll be generous, in
^1da177e Linus Torvalds 2005-04-16  290   * case there is a lot of other information we don't care about.
^1da177e Linus Torvalds 2005-04-16  291   */

:::::: The code at line 283 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux