1. 14 10月, 2016 1 次提交
  2. 07 10月, 2016 1 次提交
  3. 01 9月, 2016 1 次提交
    • J
      net: axienet: constify ethtool_ops structures · c7735f1b
      Julia Lawall 提交于
      Check for ethtool_ops structures that are only stored in the ethtool_ops
      field of a net_device structure or passed as the second argument to
      netdev_set_default_ethtool_ops.  These contexts are declared const, so
      ethtool_ops structures that have these properties can be declared as const
      also.
      
      The semantic patch that makes this change is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @r disable optional_qualifier@
      identifier i;
      position p;
      @@
      static struct ethtool_ops i@p = { ... };
      
      @ok1@
      identifier r.i;
      struct net_device e;
      position p;
      @@
      e.ethtool_ops = &i@p;
      
      @ok2@
      identifier r.i;
      expression e;
      position p;
      @@
      netdev_set_default_ethtool_ops(e, &i@p)
      
      @bad@
      position p != {r.p,ok1.p,ok2.p};
      identifier r.i;
      @@
      i@p
      
      @depends on !bad disable optional_qualifier@
      identifier r.i;
      @@
      static
      +const
       struct ethtool_ops i = { ... };
      // </smpl>
      Suggested-by: NStephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c7735f1b
  4. 21 7月, 2016 1 次提交
  5. 16 7月, 2016 2 次提交
  6. 05 5月, 2016 1 次提交
  7. 16 10月, 2015 1 次提交
  8. 10 7月, 2015 1 次提交
  9. 06 5月, 2015 12 次提交
  10. 18 3月, 2015 1 次提交
  11. 01 1月, 2015 1 次提交
  12. 27 12月, 2014 1 次提交
  13. 13 9月, 2014 1 次提交
  14. 15 8月, 2014 1 次提交
  15. 09 8月, 2014 1 次提交
  16. 13 3月, 2014 1 次提交
  17. 14 2月, 2014 2 次提交
    • M
      net: axienet: Fix compilation warnings · 91ff37ff
      Michal Simek 提交于
      Warning log:
      xilinx_axienet_main.c: In function 'axienet_start_xmit_done':
      xilinx_axienet_main.c:617:16: warning: operation on 'lp->tx_bd_ci' may be undefined [-Wsequence-point]
      xilinx_axienet_main.c: In function 'axienet_start_xmit':
      xilinx_axienet_main.c:703:18: warning: operation on 'lp->tx_bd_tail' may be undefined [-Wsequence-point]
      xilinx_axienet_main.c:719:17: warning: operation on 'lp->tx_bd_tail' may be undefined [-Wsequence-point]
      xilinx_axienet_main.c: In function 'axienet_recv':
      xilinx_axienet_main.c:792:16: warning: operation on 'lp->rx_bd_ci' may be undefined [-Wsequence-point]
      xilinx_axienet_main.c: In function 'axienet_of_probe':
      xilinx_axienet_main.c:1501:21: warning: unused variable 'rc' [-Wunused-variable]
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      91ff37ff
    • M
      net: axienet: Fix compilation error · 9d5e8ec6
      Michal Simek 提交于
      Add missing header to fix compilation error.
      drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1575:22:
       error: undefined identifier 'irq_of_parse_and_map'
      drivers/net/ethernet/xilinx/xilinx_axienet_main.c:1576:22:
       error: undefined identifier 'irq_of_parse_and_map'
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9d5e8ec6
  18. 17 1月, 2014 1 次提交
  19. 03 12月, 2013 1 次提交
    • E
      net: do not pretend FRAGLIST support · 28e24c62
      Eric Dumazet 提交于
      Few network drivers really supports frag_list : virtual drivers.
      
      Some drivers wrongly advertise NETIF_F_FRAGLIST feature.
      
      If skb with a frag_list is given to them, packet on the wire will be
      corrupt.
      
      Remove this flag, as core networking stack will make sure to
      provide packets that can be sent without corruption.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Cc: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
      Cc: Anirudha Sarangi <anirudh@xilinx.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      28e24c62
  20. 30 8月, 2013 1 次提交
  21. 26 5月, 2013 1 次提交
  22. 18 3月, 2013 1 次提交
  23. 15 3月, 2013 1 次提交
  24. 10 3月, 2013 1 次提交
  25. 11 1月, 2013 1 次提交
  26. 07 1月, 2013 1 次提交
  27. 04 12月, 2012 1 次提交