I fixed this bug already.

regards,
dan carpenter

On Thu, Nov 13, 2014 at 10:21:11PM +0800, kbuild test robot wrote:
> TO: "Lendacky, Thomas" <[email protected]>
> CC: Tom Lendacky <[email protected]>
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
> master
> head:   bbdef57970d5e1887de755474ff1562baa17ef11
> commit: 5b9dfe299e55604af47cdca9d03d2e9d4fe2ad53 [4226/6487] amd-xgbe: 
> Provide support for receive side scaling
> :::::: branch date: 7 hours ago
> :::::: commit date: 8 days ago
> 
> drivers/net/ethernet/amd/xgbe/xgbe-dev.c:1587 xgbe_dev_read() warn: missing 
> break? reassigning 'packet->rss_hash_type'
> 
> git remote add next 
> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> git remote update next
> git checkout 5b9dfe299e55604af47cdca9d03d2e9d4fe2ad53
> vim +1587 drivers/net/ethernet/amd/xgbe/xgbe-dev.c
> 
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1571    /* Get the RSS hash */
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1572    if 
> (XGMAC_GET_BITS_LE(rdesc->desc3, RX_NORMAL_DESC3, RSV)) {
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1573            
> XGMAC_SET_BITS(packet->attributes, RX_PACKET_ATTRIBUTES,
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1574                           
> RSS_HASH, 1);
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1575  
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1576            packet->rss_hash = 
> le32_to_cpu(rdesc->desc1);
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1577  
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1578            l34t = 
> XGMAC_GET_BITS_LE(rdesc->desc3, RX_NORMAL_DESC3, L34T);
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1579            switch (l34t) {
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1580            case 
> RX_DESC3_L34T_IPV4_TCP:
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1581            case 
> RX_DESC3_L34T_IPV4_UDP:
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1582            case 
> RX_DESC3_L34T_IPV6_TCP:
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1583            case 
> RX_DESC3_L34T_IPV6_UDP:
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1584                    
> packet->rss_hash_type = PKT_HASH_TYPE_L4;
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1585  
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1586            default:
> 5b9dfe29 Lendacky, Thomas 2014-11-04 @1587                    
> packet->rss_hash_type = PKT_HASH_TYPE_L3;
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1588            }
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1589    }
> 5b9dfe29 Lendacky, Thomas 2014-11-04  1590  
> c5aa9e3b Lendacky, Thomas 2014-06-05  1591    /* Get the packet length */
> c5aa9e3b Lendacky, Thomas 2014-06-05  1592    rdata->len = 
> XGMAC_GET_BITS_LE(rdesc->desc3, RX_NORMAL_DESC3, PL);
> c5aa9e3b Lendacky, Thomas 2014-06-05  1593  
> c5aa9e3b Lendacky, Thomas 2014-06-05  1594    if 
> (!XGMAC_GET_BITS_LE(rdesc->desc3, RX_NORMAL_DESC3, LD)) {
> c5aa9e3b Lendacky, Thomas 2014-06-05  1595            /* Not all the data has 
> been transferred for this packet */
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
_______________________________________________
kbuild mailing list
[email protected]
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to