1. 11 Jul, 2012 10 commits
  2. 05 Jul, 2012 1 commit
  3. 29 Jun, 2012 1 commit
  4. 25 Jun, 2012 2 commits
  5. 15 Jun, 2012 1 commit
  6. 07 Jun, 2012 3 commits
  7. 15 May, 2012 1 commit
  8. 10 May, 2012 1 commit
    • Joe Perches's avatar
      drivers/net: Convert compare_ether_addr to ether_addr_equal · 2e42e474
      Joe Perches authored
      
      
      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: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2e42e474
  9. 09 May, 2012 4 commits
  10. 30 Apr, 2012 1 commit
  11. 26 Apr, 2012 3 commits
  12. 14 Apr, 2012 1 commit
  13. 23 Mar, 2012 1 commit
  14. 16 Mar, 2012 1 commit
    • Santosh Nayak's avatar
      netxen: qlogic ethernet : Fix endian bug. · 06d6c108
      Santosh Nayak authored
      
      
      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: default avatarSantosh Nayak <santoshprasadnayak@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      06d6c108
  15. 06 Mar, 2012 1 commit
  16. 05 Mar, 2012 1 commit
  17. 23 Feb, 2012 1 commit
  18. 08 Feb, 2012 2 commits
  19. 04 Feb, 2012 4 commits