1. 13 6月, 2008 1 次提交
  2. 11 6月, 2008 2 次提交
  3. 23 5月, 2008 1 次提交
  4. 15 5月, 2008 3 次提交
  5. 01 5月, 2008 1 次提交
  6. 30 4月, 2008 4 次提交
  7. 29 4月, 2008 1 次提交
  8. 28 4月, 2008 8 次提交
    • R
      isdn: rename CONFIG_AVMB1_COMPAT to not look like a Kconfig variable · 37772ac0
      Robert P. J. Day 提交于
      Since CONFIG_AVMB1_COMPAT is not a Kconfig variable, move it out of the
      Kconfig namespace.
      Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca>
      Acked-by: NKarsten Keil <kkeil@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      37772ac0
    • C
      capifs: fix memory leak on remount · c24e9b3f
      Cyrill Gorcunov 提交于
      capifs_remount may reach 'return' statement without freeing of memory
      allocated by kstrdup call
      Signed-off-by: NCyrill Gorcunov <gorcunov@gmail.com>
      Cc: Karsten Keil <kkeil@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c24e9b3f
    • B
      hisax: depend on CONFIG_PNP, not __ISAPNP__ · 30d55e71
      Bjorn Helgaas 提交于
      The PNP driver interfaces depend on CONFIG_PNP, so test that rather than
      __ISAPNP__.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Karsten Keil <kkeil@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      30d55e71
    • R
      isdn: fix obvious cut-and-paste error in st5481_usb.c · f3429545
      Robert P. J. Day 提交于
      Fix a rather obvious cut-and-paste error, where earlier code for the
      controller URB got somehow mixed in with code for the interrupt URB.
      Signed-off-by: NRobert P. J. Day <rpjday@crashcourse.ca>
      Cc: Karsten Keil <kkeil@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f3429545
    • H
      isdn: replace remaining __FUNCTION__ occurrences · 156f1ed6
      Harvey Harrison 提交于
      __FUNCTION__ is gcc-specific, use __func__
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Cc: Karsten Keil <kkeil@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      156f1ed6
    • H
      eicon: fix sparse integer as NULL pointer warnings · dd58c0dd
      Harvey Harrison 提交于
      drivers/isdn/hardware/eicon/message.c:745:47: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/eicon/message.c:761:45: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/eicon/message.c:9122:16: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/eicon/message.c:9147:16: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/eicon/message.c:9173:14: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/eicon/divasmain.c:396:23: warning: Using plain integer as NULL pointer
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Cc: Karsten Keil <kkeil@suse.de>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      dd58c0dd
    • H
      avm: fix sparse warning using integer as NULL pointer · 8e44b29d
      Harvey Harrison 提交于
      drivers/isdn/hardware/avm/b1isa.c:206:37: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1isa.c:208:33: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1.c:664:42: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1.c:666:44: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1.c:668:42: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1.c:791:37: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1.c:793:33: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1pci.c:385:37: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1pci.c:387:33: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1dma.c:886:42: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1dma.c:888:44: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1dma.c:890:42: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1dma.c:973:37: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1dma.c:975:33: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1pcmcia.c:204:37: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/b1pcmcia.c:206:33: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/t1isa.c:554:37: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/t1isa.c:556:33: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/t1pci.c:236:37: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/t1pci.c:238:33: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/c4.c:1091:42: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/c4.c:1093:44: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/c4.c:1095:42: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/c4.c:1170:21: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/c4.c:1294:37: warning: Using plain integer as NULL pointer
      drivers/isdn/hardware/avm/c4.c:1296:33: warning: Using plain integer as NULL pointer
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Cc: Karsten Keil <kkeil@suse.de>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8e44b29d
    • H
      capi: fix sparse warnings using integer as NULL pointer · 2f9e9b6d
      Harvey Harrison 提交于
      drivers/isdn/capi/kcapi.c:829:30: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/kcapi.c:838:27: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/kcapi.c:954:17: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/kcapi.c:1007:37: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/kcapi.c:1009:33: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capiutil.c:453:24: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capilib.c:47:30: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:353:29: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:369:15: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:486:48: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:515:46: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:541:47: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:692:47: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:699:49: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:704:14: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:943:53: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:948:32: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:969:42: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:989:48: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:1026:69: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:1028:19: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:1061:20: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:1529:37: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capi.c:1531:33: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:338:15: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:758:32: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:880:40: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:407:15: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:429:49: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:407:15: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:444:49: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:429:49: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:429:49: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:429:49: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:429:49: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:429:49: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:1664:61: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:1969:37: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:2294:37: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:2297:33: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:2338:37: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capidrv.c:2341:33: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capifs.c:192:37: warning: Using plain integer as NULL pointer
      drivers/isdn/capi/capifs.c:194:33: warning: Using plain integer as NULL pointer
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Cc: Karsten Keil <kkeil@suse.de>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2f9e9b6d
  9. 21 4月, 2008 3 次提交
  10. 14 4月, 2008 1 次提交
  11. 08 3月, 2008 1 次提交
  12. 06 3月, 2008 1 次提交
  13. 05 3月, 2008 2 次提交
  14. 10 2月, 2008 4 次提交
    • S
      isdn: fix section mismatch warning for ISACVer · f4e64333
      Sam Ravnborg 提交于
      Fix following warnings:
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x19723): Section mismatch in reference from the function ISACVersion() to the variable .devinit.data:ISACVer
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x2005b): Section mismatch in reference from the function setup_avm_a1_pcmcia() to the function .devinit.text:setup_isac()
      
      ISACVer were only used from function annotated __devinit
      so add same annotation to ISACVer.
      One af the fererencing functions missed __devinit so add it
      and kill an additional warning.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Acked-by: NKarsten Keil <kkeil@suse.de>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f4e64333
    • S
      isdn: fix section mismatch warnings from hisax_cs_setup_card · 2fddb6e2
      Sam Ravnborg 提交于
      Fix the following warnings:
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x722): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_teles3()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x72c): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_s0box()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x736): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_telespci()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x747): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_avm_pcipnp()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x74e): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_elsa()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x755): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_diva()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x75c): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_sedlbauer()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x763): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_netjet_s()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x76a): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_hfcpci()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x771): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_hfcsx()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x778): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_niccy()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x77f): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_bkm_a4t()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x786): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_sct_quadro()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x78d): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_gazel()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x794): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_w6692()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x79b): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_netjet_u()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x7a2): Section mismatch in reference from the function hisax_cs_setup_card() to the function .devinit.text:setup_enternow_pci()
      
      checkcard() are the only user of hisax_cs_setup_card().
      And checkcard is only used during init or when hot plugging
      ISDN devices. So annotate hisax_cs_setup_card() with __devinit.
      checkcard() is used by exported functions so it cannot be
      annotated __devinit. Annotate it with __ref so modpost
      ignore references to _devinit section.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Acked-by: NKarsten Keil <kkeil@suse.de>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2fddb6e2
    • S
      isdn: fix section mismatch warnings in isac.c and isar.c · d348c2a3
      Sam Ravnborg 提交于
      Fix the following warnings:
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x1b276): Section mismatch in reference from the function inithscxisac() to the function .devinit.text:clear_pending_isac_ints()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x1b286): Section mismatch in reference from the function inithscxisac() to the function .devinit.text:initisac()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x1fec7): Section mismatch in reference from the function AVM_card_msg() to the function .devinit.text:clear_pending_isac_ints()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x21669): Section mismatch in reference from the function AVM_card_msg() to the function .devinit.text:clear_pending_isac_ints()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x21671): Section mismatch in reference from the function AVM_card_msg() to the function .devinit.text:initisac()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x2991e): Section mismatch in reference from the function Sedl_card_msg() to the function .devinit.text:clear_pending_isac_ints()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x29936): Section mismatch in reference from the function Sedl_card_msg() to the function .devinit.text:initisac()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x2993e): Section mismatch in reference from the function Sedl_card_msg() to the function .devinit.text:initisar()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x2e026): Section mismatch in reference from the function NETjet_S_card_msg() to the function .devinit.text:clear_pending_isac_ints()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x2e02e): Section mismatch in reference from the function NETjet_S_card_msg() to the function .devinit.text:initisac()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x37813): Section mismatch in reference from the function BKM_card_msg() to the function .devinit.text:clear_pending_isac_ints()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x37823): Section mismatch in reference from the function BKM_card_msg() to the function .devinit.text:initisac()
      
      initisar(), initisac() and clear_pending_isac_ints()
      were all used via a cardmsg fnction - which may be called
      ouside __devinit context.
      So remove the bogus __devinit annotation of the
      above three functions to fix the warnings.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Acked-by: NKarsten Keil <kkeil@suse.de>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d348c2a3
    • S
      isdn: fix section mismatch warning in hfc_sx.c · 7740ac6a
      Sam Ravnborg 提交于
      Fix the following warning:
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x35818): Section mismatch in reference from the function hfcsx_card_msg() to the function .devinit.text:inithfcsx()
      
      hfcsx_card_msg() may be called outside __devinit context.
      Following the program logic is looks like the CARD_INIT branch
      will only be taken under __devinit context but to be consistent
      remove the __devinit annotation of inithfcsx() so we
      do not mix non-__devinit and __devinit code.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Acked-by: NKarsten Keil <kkeil@suse.de>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7740ac6a
  15. 09 2月, 2008 1 次提交
  16. 08 2月, 2008 1 次提交
    • S
      [ISDN]: fix section mismatch warning in enpci_card_msg · 054b0e2b
      Sam Ravnborg 提交于
      Fix following warnings:
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x3cf50): Section mismatch in reference from the function enpci_card_msg() to the function .devinit.text:Amd7930_init()
      WARNING: drivers/isdn/hisax/built-in.o(.text+0x3cf85): Section mismatch in reference from the function enpci_card_msg() to the function .devinit.text:Amd7930_init()
      
      enpci_card_msg() can be called outside __devinit context
      referenced function should not be annotated __devinit.
      
      Remove annotation of Amd7930_init to fix this.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      054b0e2b
  17. 07 2月, 2008 5 次提交