Hi Salil,

[auto build test WARNING on net-next/master]

url:    
https://github.com/0day-ci/linux/commits/Salil-Mehta/Hisilicon-Network-Subsystem-3-Ethernet-Driver/20170611-204908
config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
reproduce:
        wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=parisc 

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c: In function 
'hclge_update_speed_duplex':
>> drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:2266:1: warning: the 
>> frame size of 1440 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    }
    ^

vim +2266 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c

14965015 Salil Mehta 2017-06-10  2250   if (ret) {
14965015 Salil Mehta 2017-06-10  2251           dev_err(&hdev->pdev->dev,
14965015 Salil Mehta 2017-06-10  2252                   "mac 
autoneg/speed/duplex query failed %d\n", ret);
14965015 Salil Mehta 2017-06-10  2253           return ret;
14965015 Salil Mehta 2017-06-10  2254   }
14965015 Salil Mehta 2017-06-10  2255  
14965015 Salil Mehta 2017-06-10  2256   if ((mac.speed != speed) || (mac.duplex 
!= duplex)) {
14965015 Salil Mehta 2017-06-10  2257           ret = 
hclge_cfg_mac_speed_dup(hdev, speed, duplex);
14965015 Salil Mehta 2017-06-10  2258           if (ret) {
14965015 Salil Mehta 2017-06-10  2259                   
dev_err(&hdev->pdev->dev,
14965015 Salil Mehta 2017-06-10  2260                           "mac 
speed/duplex config failed %d\n", ret);
14965015 Salil Mehta 2017-06-10  2261                   return ret;
14965015 Salil Mehta 2017-06-10  2262           }
14965015 Salil Mehta 2017-06-10  2263   }
14965015 Salil Mehta 2017-06-10  2264  
14965015 Salil Mehta 2017-06-10  2265   return 0;
14965015 Salil Mehta 2017-06-10 @2266  }
14965015 Salil Mehta 2017-06-10  2267  
14965015 Salil Mehta 2017-06-10  2268  static int 
hclge_update_speed_duplex_h(struct hnae3_handle *handle)
14965015 Salil Mehta 2017-06-10  2269  {
14965015 Salil Mehta 2017-06-10  2270   struct hclge_vport *vport = 
hclge_get_vport(handle);
14965015 Salil Mehta 2017-06-10  2271   struct hclge_dev *hdev = vport->back;
14965015 Salil Mehta 2017-06-10  2272  
14965015 Salil Mehta 2017-06-10  2273   return hclge_update_speed_duplex(hdev);
14965015 Salil Mehta 2017-06-10  2274  }

:::::: The code at line 2266 was first introduced by commit
:::::: 1496501507394557c091dfe9d27fe0124802fbee net: hns3: Add HNS3 
Acceleration Engine & Compatibility Layer Support

:::::: TO: Salil Mehta <salil.me...@huawei.com>
:::::: CC: 0day robot <fengguang...@intel.com>

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

Attachment: .config.gz
Description: application/gzip

Reply via email to