tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git master head: d07c0278da1f4cfc91c3d46d0d07a0d13a949892 commit: 1003e19c466dc37812b5f88b2d5308ee63bb3fa0 [66/72] cxgb3: fix up vpd strings for kstrto*() config: s390-allmodconfig (attached as .config) 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 1003e19c466dc37812b5f88b2d5308ee63bb3fa0 # save the attached .config to linux build tree make.cross ARCH=s390
All warnings (new ones prefixed by >>): drivers/net/ethernet/chelsio/cxgb3/t3_hw.c: In function 'vpdstrtou16.constprop': >> drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:700:1: warning: >> 'vpdstrtou16.constprop' uses dynamic stack allocation } ^ drivers/net/ethernet/chelsio/cxgb3/t3_hw.c: In function 'vpdstrtouint.constprop': >> drivers/net/ethernet/chelsio/cxgb3/t3_hw.c:691:1: warning: >> 'vpdstrtouint.constprop' uses dynamic stack allocation } ^ vim +700 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 685 { 686 char tok[len + 1]; 687 688 memcpy(tok, s, len); 689 tok[len] = 0; 690 return kstrtouint(strim(tok), base, val); > 691 } 692 693 static int vpdstrtou16(char *s, int len, unsigned int base, u16 *val) 694 { 695 char tok[len + 1]; 696 697 memcpy(tok, s, len); 698 tok[len] = 0; 699 return kstrtou16(strim(tok), base, val); > 700 } 701 702 /** 703 * get_vpd_params - read VPD parameters from VPD EEPROM --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data