1. 20 10月, 2007 3 次提交
  2. 19 10月, 2007 3 次提交
    • J
      Add missing newlines to some uses of dev_<level> messages · 898eb71c
      Joe Perches 提交于
      Found these while looking at printk uses.
      
      Add missing newlines to dev_<level> uses
      Add missing KERN_<level> prefixes to multiline dev_<level>s
      Fixed a wierd->weird spelling typo
      Added a newline to a printk
      Signed-off-by: NJoe Perches <joe@perches.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Mark M. Hoffman <mhoffman@lightlink.com>
      Cc: Roland Dreier <rolandd@cisco.com>
      Cc: Tilman Schmidt <tilman@imap.cc>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Stephen Hemminger <shemminger@linux-foundation.org>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: James Smart <James.Smart@Emulex.Com>
      Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      898eb71c
    • K
      i4l: Fix random hard freeze with AVM c4 card · 1ccfd633
      Karsten Keil 提交于
      The patch
      - Includes the call to capilib_data_b3_req in the spinlock. This routine
        in turn calls the offending mq_enqueue routine that triggered the
        freeze if not locked.  This should also fix other indicators of
        incosistent capilib_msgidqueue list, that trigger messages like:
        Oct  5 03:05:57 BERL0 kernel: kcapi: msgid 3019 ncci 0x30301 not on queue
        that we saw several times a day (usually several in a row).
      - Fixes all occurrences of c4_dispatch_tx to be called with active
        spinlock, there were some instances where no lock was active. Mostly
        these are in very infrequently called routines, so the additional
        performance penalty is minimal.
      Signed-off-by: NKarsten Keil <kkeil@suse.de>
      Signed-off-by: NRainer Brestan <rainer.brestan@frequentis.com>
      Signed-off-by: NRalf Schlatterbeck <rsc@runtux.com>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1ccfd633
    • K
      i4l: fix random freezes with AVM B1 drivers · 9713d9e6
      Karsten Keil 提交于
      This fix the same issue which was debbuged for the C4 controller for the B1
      versions.
      
      The capilib_ function modify or traverse a linked list without locking.
      
      This patch extends the existing locking to the calls of these function to
      prevent access to a list which is in the middle of a modification.
      Signed-off-by: NKarsten Keil <kkeil@suse.de>
      C: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9713d9e6
  3. 17 10月, 2007 4 次提交
  4. 16 10月, 2007 2 次提交
  5. 15 10月, 2007 3 次提交
  6. 14 10月, 2007 1 次提交
  7. 12 10月, 2007 6 次提交
  8. 11 10月, 2007 3 次提交
  9. 09 10月, 2007 1 次提交
  10. 27 8月, 2007 1 次提交
  11. 22 8月, 2007 1 次提交
  12. 01 8月, 2007 1 次提交
  13. 22 7月, 2007 3 次提交
  14. 20 7月, 2007 1 次提交
    • A
      isdn/sc: compile breakage re check_reset() · e3aded3c
      Alexey Dobriyan 提交于
      There is check_reset() -- global function in drivers/isdn/sc/
      There is check_reset -- variable holding module param in aacraid driver.
      
      On allyesconfig they clash with:
      
        LD      drivers/built-in.o
      drivers/isdn/built-in.o: In function `check_reset':
      : multiple definition of `check_reset'
      drivers/scsi/built-in.o:(.data+0xe458): first defined here
      ld: Warning: size of symbol `check_reset' changed from 4 in drivers/scsi/built-in.o to 219 in drivers/isdn/built-in.o
      ld: Warning: type of symbol `check_reset' changed from 1 to 2 in drivers/isdn/built-in.o
      
      Rename the former.
      Signed-off-by: NAlexey Dobriyan <adobriyan@sw.ru>
      Cc: Karsten Keil <kkeil@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e3aded3c
  15. 19 7月, 2007 1 次提交
    • F
      ISDN HiSax: uninitialized return in hisax_cs_setup · 9ee0be05
      Florin Malita 提交于
      Coverity (1792) spotted a possibly uninitialized return value in case of
      kmalloc() failure:
      
      1116 static int hisax_cs_setup(int cardnr, struct IsdnCard *card,
      1117                           struct IsdnCardState *cs)
      1119         int ret;
      1120
      1121         if (!(cs->rcvbuf = kmalloc(MAX_DFRAME_LEN_L1, GFP_ATOMIC))) {
      1122                 printk(KERN_WARNING "HiSax: No memory for isac rcvbuf\n");
      1123                 ll_unload(cs);
      1124                 goto outf_cs;
      ...
      1165 outf_cs:
      1166         kfree(cs);
      1167         card->cs = NULL;
      1168         return ret;
      
      The straightforward solution would be to just add the missing
      initialization but hardcoding the return value in the out_cs branch
      (only taken on failure) seems to work just as well and it allows killing
      a couple of other lines too.
      Signed-off-by: NFlorin Malita <fmalita@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      9ee0be05
  16. 18 7月, 2007 6 次提交