1. 11 7月, 2012 9 次提交
  2. 05 7月, 2012 1 次提交
  3. 29 6月, 2012 1 次提交
  4. 26 6月, 2012 2 次提交
  5. 16 6月, 2012 1 次提交
  6. 08 6月, 2012 3 次提交
  7. 16 5月, 2012 1 次提交
  8. 11 5月, 2012 1 次提交
    • J
      drivers/net: Convert compare_ether_addr to ether_addr_equal · 2e42e474
      Joe Perches 提交于
      Use the new bool function ether_addr_equal to add
      some clarity and reduce the likelihood for misuse
      of compare_ether_addr for sorting.
      
      Done via cocci script:
      
      $ cat compare_ether_addr.cocci
      @@
      expression a,b;
      @@
      -	!compare_ether_addr(a, b)
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	compare_ether_addr(a, b)
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) == 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) != 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) == 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) != 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!!ether_addr_equal(a, b)
      +	ether_addr_equal(a, b)
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2e42e474
  9. 10 5月, 2012 4 次提交
  10. 30 4月, 2012 1 次提交
  11. 27 4月, 2012 3 次提交
  12. 15 4月, 2012 1 次提交
  13. 24 3月, 2012 1 次提交
  14. 17 3月, 2012 1 次提交
    • S
      netxen: qlogic ethernet : Fix endian bug. · 06d6c108
      Santosh Nayak 提交于
      Change the datatype of "ip_addr" to __be32 as 'ip' should be in
      big endian format.
      
      Adapter needs "ip address" in big endian format stored at lower 32bit
      of req.word[1]. netxen_config_ipaddr() now receives 'ip' in big endian
      format. To satisfy adapter's need, use memcpy() to copy byte by byte
      of 'ip' into lower 32bit of req.word[1].
      
      Mac address and serial number of adapter need to be in little endian format.
      Change the data type of the related  variables to __le32 / __le64 or cast it
      explicitly to __le32 / __le64 depending upon the requirement.
      Signed-off-by: NSantosh Nayak <santoshprasadnayak@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      06d6c108
  15. 07 3月, 2012 1 次提交
  16. 06 3月, 2012 1 次提交
  17. 24 2月, 2012 1 次提交
  18. 09 2月, 2012 2 次提交
  19. 05 2月, 2012 5 次提交