[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 11 Oct 2015 03:17:56 +0800
From: kbuild test robot <lkp@...el.com>
To: Michael Chan <mchan@...adcom.com>
Cc: kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] bnxt_en: New Broadcom ethernet driver.
Hi Michael,
[auto build test WARNING on net-next/master -- if it's inappropriate base, please ignore]
config: tile-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
# save the attached .config to linux build tree
make.cross ARCH=tile
All warnings (new ones prefixed by >>):
drivers/net/ethernet/broadcom/bnxt/bnxt.c: In function 'bnxt_init_one_rx_ring':
>> drivers/net/ethernet/broadcom/bnxt/bnxt.c:2055:3: warning: large integer implicitly truncated to unsigned type [-Woverflow]
vim +2055 drivers/net/ethernet/broadcom/bnxt/bnxt.c
2039 if (bnxt_alloc_rx_data(bp, rxr, prod, GFP_KERNEL) != 0) {
2040 netdev_warn(dev, "init'ed rx ring %d with %d/%d skbs only\n",
2041 ring_nr, i, bp->rx_ring_size);
2042 break;
2043 }
2044 prod = NEXT_RX(prod);
2045 }
2046 rxr->rx_prod = prod;
2047 ring->fw_ring_id = INVALID_HW_RING_ID;
2048
2049 if (!(bp->flags & BNXT_FLAG_AGG_RINGS))
2050 return 0;
2051
2052 ring = &rxr->rx_agg_ring_struct;
2053
2054 type = (PAGE_SIZE << RX_BD_LEN_SHIFT) |
> 2055 RX_BD_TYPE_RX_AGG_BD | RX_BD_FLAGS_SOP;
2056
2057 bnxt_init_rxbd_pages(ring, type);
2058
2059 prod = rxr->rx_agg_prod;
2060 for (i = 0; i < bp->rx_agg_ring_size; i++) {
2061 if (bnxt_alloc_rx_page(bp, rxr, prod, GFP_KERNEL) != 0) {
2062 netdev_warn(dev, "init'ed rx ring %d with %d/%d pages only\n",
2063 ring_nr, i, bp->rx_ring_size);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (41433 bytes)
Powered by blists - more mailing lists