1. 20 12月, 2011 2 次提交
    • D
      NFC: double unlock in nfc_llcp_recv_connect() · 341ee434
      Dan Carpenter 提交于
      We unlock inside the if block on the other side of this if else
      statement.  It could result in calling mutex_unlock() twice.
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      341ee434
    • S
      NFC: Fix LLCP related build failure · 645d3590
      Samuel Ortiz 提交于
      llcp_mac routines should be static and inlined or build will fail with NFC
      selected without LLCP.
      
      This patch fixes:
      
      LD [M]  net/nfc/nfc.o
      net/nfc/netlink.o: In function `nfc_llcp_mac_is_down':
      netlink.c:(.text+0x0): multiple definition of `nfc_llcp_mac_is_down'
      net/nfc/core.o:(.text+0x0): first defined here
      net/nfc/netlink.o: In function `nfc_llcp_mac_is_up':
      netlink.c:(.text+0x10): multiple definition of `nfc_llcp_mac_is_up'
      net/nfc/core.o:(.text+0x10): first defined here
      net/nfc/af_nfc.o: In function `nfc_llcp_mac_is_down':
      (.text+0x0): multiple definition of `nfc_llcp_mac_is_down'
      net/nfc/core.o:(.text+0x0): first defined here
      net/nfc/af_nfc.o: In function `nfc_llcp_mac_is_up':
      (.text+0x10): multiple definition of `nfc_llcp_mac_is_up'
      net/nfc/core.o:(.text+0x10): first defined here
      net/nfc/rawsock.o: In function `nfc_llcp_mac_is_down':
      rawsock.c:(.text+0x0): multiple definition of `nfc_llcp_mac_is_down'
      net/nfc/core.o:(.text+0x0): first defined here
      net/nfc/rawsock.o: In function `nfc_llcp_mac_is_up':
      rawsock.c:(.text+0x10): multiple definition of `nfc_llcp_mac_is_up'
      net/nfc/core.o:(.text+0x10): first defined here
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      645d3590
  2. 15 12月, 2011 7 次提交
  3. 13 12月, 2011 1 次提交
  4. 01 12月, 2011 4 次提交
  5. 12 11月, 2011 3 次提交
  6. 01 11月, 2011 3 次提交
  7. 28 9月, 2011 4 次提交
  8. 21 9月, 2011 3 次提交
  9. 25 8月, 2011 1 次提交
  10. 06 7月, 2011 4 次提交
新手
引导
客服 返回
顶部