1. 25 Mar, 2013 4 commits
  2. 24 Mar, 2013 9 commits
  3. 22 Mar, 2013 24 commits
  4. 21 Mar, 2013 3 commits
    • Sergei Shtylyov's avatar
      sh_eth: fix unused variable warning · fe0e76f7
      Sergei Shtylyov authored
      Commit d5e07e69 (sh_eth: use managed device API)
      has caused this warning (due to my overlook):
      
      drivers/net/ethernet/renesas/sh_eth.c: In function `sh_eth_drv_remove':
      drivers/net/ethernet/renesas/sh_eth.c:2482:25: warning: unused variable `mdp'
      [-Wunused-variable]
      
      Kill the darn variable now...
      Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fe0e76f7
    • Daniel Borkmann's avatar
      filter: bpf_jit_comp: refactor and unify BPF JIT image dump output · 79617801
      Daniel Borkmann authored
      If bpf_jit_enable > 1, then we dump the emitted JIT compiled image
      after creation. Currently, only SPARC and PowerPC has similar output
      as in the reference implementation on x86_64. Make a small helper
      function in order to reduce duplicated code and make the dump output
      uniform across architectures x86_64, SPARC, PPC, ARM (e.g. on ARM
      flen, pass and proglen are currently not shown, but would be
      interesting to know as well), also for future BPF JIT implementations
      on other archs.
      
      Cc: Mircea Gherzan <mgherzan@gmail.com>
      Cc: Matt Evans <matt@ozlabs.org>
      Cc: Eric Dumazet <eric.dumazet@google.com>
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarDaniel Borkmann <dborkman@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      79617801
    • Sergei Shtylyov's avatar
      sh_eth: use managed device API · d5e07e69
      Sergei Shtylyov authored
      Switch the driver to the managed device API by replacing ioremap() calls with
      devm_ioremap_resource() (that will also result in calling request_mem_region()
      which the driver forgot to do until now) and k[mz]alloc() with devm_kzalloc() --
      this permits to simplify driver's probe()/remove() method cleanup. We can now
      remove the ioremap() error messages since the error messages are printed by
       devm_ioremap_resource() itself. We can also remove the 'bitbang' field from
      'struct sh_eth_private' as we don't need it anymore in order to free the memory
      behind it...
      Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d5e07e69