1. 20 Nov, 2012 7 commits
  2. 19 Nov, 2012 29 commits
  3. 18 Nov, 2012 4 commits
    • Vlad Yasevich's avatar
      ipv6: Preserve ipv6 functionality needed by NET · 75fe83c3
      Vlad Yasevich authored
      Some pieces of network use core pieces of IPv6 stack.  Keep
      them available while letting new GSO offload pieces depend
      on CONFIG_INET.
      Signed-off-by: default avatarVlad Yasevich <vyasevic@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      75fe83c3
    • Sony Chacko's avatar
      qlcnic: fix sparse warnings · 6d973cb1
      Sony Chacko authored
      qlcnic_hw.c:1337:17: warning: cast removes address space of expression
      qlcnic_hw.c:1337:17: warning: incorrect type in argument 2 (different address spaces)
      qlcnic_hw.c:1337:17:    expected void volatile [noderef] <asn:2>*addr
      qlcnic_hw.c:1337:17:    got void *<noident>
      qlcnic_hw.c:1337:17: warning: cast removes address space of expression
      qlcnic_hw.c:1337:17: warning: incorrect type in argument 1 (different address spaces)
      qlcnic_hw.c:1337:17:    expected void const volatile [noderef] <asn:2>*addr
      qlcnic_hw.c:1337:17:    got void *<noident>
      
      The above warnings are originating from the macros QLCNIC_RD_DUMP_REG and
      QLCNIC_WR_DUMP_REG.
      The warnings are fixed and macros are replaced with equivalent functions
      in the only file from where it is called.
      
      The following warnings are fixed by making the functions static.
      
      qlcnic_hw.c:543:5: warning: symbol 'qlcnic_set_fw_loopback' was not declared. Should it be static?
      qlcnic_init.c:1853:6: warning: symbol 'qlcnic_process_rcv_diag' was not declared. Should it be static?
      Signed-off-by: default avatarSony Chacko <sony.chacko@qlogic.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6d973cb1
    • Sony Chacko's avatar
      qlcnic: fix compiler warnings · 5ad6ff9d
      Sony Chacko authored
      Fix the following warnings:
      
      qlcnic_main.c: In function 'qlcnic_update_cmd_producer':
      qlcnic_main.c:119:51: warning: unused parameter 'adapter' [-Wunused-parameter]
      qlcnic_main.c:119: warning: unused parameter adapter
      qlcnic_init.c: In function qlcnic_process_lro
      qlcnic_init.c:1586: warning: unused parameter sds_ring
      qlcnic_init.c: In function qlcnic_process_rcv_diag
      qlcnic_init.c:1854: warning: unused parameter sds_ring
      qlcnic_init.c: In function qlcnic_fetch_mac
      qlcnic_init.c:1938: warning: unused parameter adapter
      
      warning: 'pci_using_dac' may be used uninitialized in this function [-Wmaybe-uninitialized]
      qlcnic_main.c:1569:10: note: 'pci_using_dac' was declared here
      Signed-off-by: default avatarSony Chacko <sony.chacko@qlogic.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5ad6ff9d
    • Daniel Borkmann's avatar
      PPC: net: bpf_jit_comp: add VLAN instructions for BPF JIT · 5082dfb7
      Daniel Borkmann authored
      This patch is a follow-up for patch "net: filter: add vlan tag access"
      to support the new VLAN_TAG/VLAN_TAG_PRESENT accessors in BPF JIT.
      Signed-off-by: default avatarDaniel Borkmann <daniel.borkmann@tik.ee.ethz.ch>
      Cc: Matt Evans <matt@ozlabs.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Acked-by: default avatarMatt Evans <matt@ozlabs.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5082dfb7